From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Tissoires Subject: [PATCH 0/4] HID: debugfs rework Date: Wed, 17 Apr 2013 19:38:12 +0200 Message-ID: <1366220296-14346-1-git-send-email-benjamin.tissoires@redhat.com> Return-path: Sender: linux-kernel-owner@vger.kernel.org To: Jiri Kosina , Dmitry Torokhov , Benjamin Tissoires , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Benjamin Tissoires List-Id: linux-input@vger.kernel.org Hi Jiri, This is a small rework of the HID debugfs. I encountered a problem with multitouch devices: they have too much usages to fit into the fixed size output buffer of 512. So I digg a little, and end up with those 4 patches. Cheers, Benjamin Benjamin Tissoires (4): HID: debug: break out hid_dump_report() into hid-debug HID: core: break out hid_find_max_report() in hid-core HID: debug: empty output queue on read HID: debug: allocate the output buffer with an estimate drivers/hid/hid-core.c | 84 +++++++++++++++++++++++++++++----------- drivers/hid/hid-debug.c | 89 +++++++++++++++++++++++++++++++++---------- drivers/hid/i2c-hid/i2c-hid.c | 15 ++------ drivers/hid/usbhid/hid-core.c | 16 -------- include/linux/hid-debug.h | 7 +++- include/linux/hid.h | 5 +++ 6 files changed, 143 insertions(+), 73 deletions(-) -- 1.8.1.4