Re: [PATCH] i2c-hid: Disable IRQ before freeing buffers

2016-12-09 Thread Jiri Kosina
On Tue, 6 Dec 2016, João Paulo Rechi Vita wrote: > The HID report buffers that are initially allocated on i2c_hid_probe() > might not be big enough to hold the HID reports from a specific device, > in which case they will be freed and new ones will be allocated in > i2c_hid_start(), at point which

Re: [PATCH] i2c-hid: Disable IRQ before freeing buffers

2016-12-06 Thread Benjamin Tissoires
On Dec 06 2016 or thereabouts, João Paulo Rechi Vita wrote: > The HID report buffers that are initially allocated on i2c_hid_probe() > might not be big enough to hold the HID reports from a specific device, > in which case they will be freed and new ones will be allocated in > i2c_hid_start(), at p

[PATCH] i2c-hid: Disable IRQ before freeing buffers

2016-12-06 Thread João Paulo Rechi Vita
The HID report buffers that are initially allocated on i2c_hid_probe() might not be big enough to hold the HID reports from a specific device, in which case they will be freed and new ones will be allocated in i2c_hid_start(), at point which the device's report size is known. But at this point ihid