diff --git a/[refs] b/[refs] index c08ce3b1b1ce..255eb801c48a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 5ed84c341c25accc61410cfb53a45170f8fb19e4 +refs/heads/master: 56fa94415b8a1a163e24a105fb5bdadc625c1d2a diff --git a/trunk/drivers/hid/hid-picolcd_debugfs.c b/trunk/drivers/hid/hid-picolcd_debugfs.c index 6ef03be352cf..4809aa1bdb9c 100644 --- a/trunk/drivers/hid/hid-picolcd_debugfs.c +++ b/trunk/drivers/hid/hid-picolcd_debugfs.c @@ -402,7 +402,7 @@ void picolcd_debug_out_report(struct picolcd_data *data, #define BUFF_SZ 256 /* Avoid unnecessary overhead if debugfs is disabled */ - if (!hdev->debug_events) + if (list_empty(&hdev->debug_list)) return; buff = kmalloc(BUFF_SZ, GFP_ATOMIC);