[PATCH 3.18 054/150] HID: i2c-hid: fix race condition reading reports

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Jean-Baptiste Maneyrol commit 6296f4a8eb86f9abcc370fb7a1a116b8441c17fd upstream. Current driver uses a common buffer for reading reports either synchronously in i2c_hid_get_raw_report() and

[PATCH 3.18 054/150] HID: i2c-hid: fix race condition reading reports

2015-01-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Jean-Baptiste Maneyrol jmaney...@invensense.com commit 6296f4a8eb86f9abcc370fb7a1a116b8441c17fd upstream. Current driver uses a common buffer for reading reports either synchronously in