|
@@ -28,8 +28,6 @@
|
|
#include <linux/input.h>
|
|
#include <linux/input.h>
|
|
#include <linux/wait.h>
|
|
#include <linux/wait.h>
|
|
|
|
|
|
-#undef DEBUG_DATA
|
|
|
|
-
|
|
|
|
#include <linux/hid.h>
|
|
#include <linux/hid.h>
|
|
#include <linux/hiddev.h>
|
|
#include <linux/hiddev.h>
|
|
#include <linux/hid-debug.h>
|
|
#include <linux/hid-debug.h>
|
|
@@ -951,7 +949,7 @@ int hid_input_report(struct hid_device *hid, int type, u8 *data, int size, int i
|
|
return -1;
|
|
return -1;
|
|
}
|
|
}
|
|
|
|
|
|
-#ifdef DEBUG_DATA
|
|
|
|
|
|
+#ifdef CONFIG_HID_DEBUG
|
|
printk(KERN_DEBUG __FILE__ ": report (size %u) (%snumbered)\n", size, report_enum->numbered ? "" : "un");
|
|
printk(KERN_DEBUG __FILE__ ": report (size %u) (%snumbered)\n", size, report_enum->numbered ? "" : "un");
|
|
#endif
|
|
#endif
|
|
|
|
|
|
@@ -961,7 +959,7 @@ int hid_input_report(struct hid_device *hid, int type, u8 *data, int size, int i
|
|
size--;
|
|
size--;
|
|
}
|
|
}
|
|
|
|
|
|
-#ifdef DEBUG_DATA
|
|
|
|
|
|
+#ifdef CONFIG_HID_DEBUG
|
|
{
|
|
{
|
|
int i;
|
|
int i;
|
|
printk(KERN_DEBUG __FILE__ ": report %d (size %u) = ", n, size);
|
|
printk(KERN_DEBUG __FILE__ ": report %d (size %u) = ", n, size);
|