Re: [PATCH v2] Input: xpad - restore LED state after device resume

2017-02-06 Thread Dmitry Torokhov
On Mon, Feb 06, 2017 at 04:58:38PM -0800, Cameron Gutman wrote: > Set the LED_CORE_SUSPENDRESUME flag on our LED device so the > LED state will be automatically restored by LED core on resume. > > Since Xbox One pads stop flashing only when reinitialized, we'll > send them the initialization packe

[PATCH v2] Input: xpad - restore LED state after device resume

2017-02-06 Thread Cameron Gutman
Set the LED_CORE_SUSPENDRESUME flag on our LED device so the LED state will be automatically restored by LED core on resume. Since Xbox One pads stop flashing only when reinitialized, we'll send them the initialization packet so they calm down too. Signed-off-by: Cameron Gutman --- Sending this