Re: hid-rmi: configuration automatically changed after suspend/resume

2015-07-07 Thread Gabriele Mazzotta
On Monday 06 July 2015 16:47:57 Andrew Duggan wrote: Hi Gabriele, On 07/06/2015 03:20 AM, Gabriele Mazzotta wrote: Hi, I recently noticed that there's a minor issue with hid-rmi.c. After a suspend/resume cycle the f11 control register is set to the default configuration, thus undoing

Re: hid-rmi: configuration automatically changed after suspend/resume

2015-07-07 Thread Benjamin Tissoires
On Jul 07 2015 or thereabouts, Gabriele Mazzotta wrote: On Monday 06 July 2015 16:47:57 Andrew Duggan wrote: Hi Gabriele, On 07/06/2015 03:20 AM, Gabriele Mazzotta wrote: Hi, I recently noticed that there's a minor issue with hid-rmi.c. After a suspend/resume cycle the f11

hid-rmi: configuration automatically changed after suspend/resume

2015-07-06 Thread Gabriele Mazzotta
Hi, I recently noticed that there's a minor issue with hid-rmi.c. After a suspend/resume cycle the f11 control register is set to the default configuration, thus undoing the changes performed on init. I made some changes to the driver to prevent this from happening: the configuration is saved on

Re: hid-rmi: configuration automatically changed after suspend/resume

2015-07-06 Thread Andrew Duggan
Hi Gabriele, On 07/06/2015 03:20 AM, Gabriele Mazzotta wrote: Hi, I recently noticed that there's a minor issue with hid-rmi.c. After a suspend/resume cycle the f11 control register is set to the default configuration, thus undoing the changes performed on init. This is because i2c_hid does