diff --git a/[refs] b/[refs] index 786cb5a2cca4..d05492574486 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ae08e324146c89f1059e9d3c3898d0260a988795 +refs/heads/master: 63583c64558853f0fe7f8166907417792d184e18 diff --git a/trunk/drivers/hid/hid-picolcd_debugfs.c b/trunk/drivers/hid/hid-picolcd_debugfs.c index 15c22f2ee748..2c7308c2ae1f 100644 --- a/trunk/drivers/hid/hid-picolcd_debugfs.c +++ b/trunk/drivers/hid/hid-picolcd_debugfs.c @@ -657,7 +657,7 @@ void picolcd_debug_raw_event(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);