[PATCH v2 0/4] i2c-hid cleanup and bug fixes

Benjamin Tissoires
2012-12-05T14:02:52Z

Hi Jiri, Jean,

This is the v2 of the cleanup of i2c-hid.

Changes since v1:
* patch 1: check if dsize < 4
* patch 2: no changes
* patch 3: fixed irq return path
* patch 4: correct *_count handling (much more tested this time).

Cheers,
Benjamin

Benjamin Tissoires (4):
HID: i2c-hid: fix memory corruption due to missing hid declaration
HID: i2c-hid: reorder allocation/free of buffers
HID: i2c-hid: remove extra .irq field in struct i2c_hid
HID: i2c-hid: fix i2c_hid_get_raw_report count mismatches

drivers/hid/i2c-hid/i2c-hid.c | 108 +++++++++++++++++++++---------------------
1 file changed, 53 insertions(+), 55 deletions(-)

--
1.8.0.1