Re: [PATCH v2] Input: cap11xx - switch to using set_brightness_blocking()

2019-02-08 Thread Jacek Anaszewski
Hi Dmitry, Thank you for the update. On 2/8/19 8:57 AM, Dmitry Torokhov wrote: Updating LED state requires access to regmap and therefore we may sleep, so we could not do that directly form set_brightness() method. Historically we used private work to adjust the brightness, but with the

[PATCH v2] Input: cap11xx - switch to using set_brightness_blocking()

2019-02-07 Thread Dmitry Torokhov
Updating LED state requires access to regmap and therefore we may sleep, so we could not do that directly form set_brightness() method. Historically we used private work to adjust the brightness, but with the introduction of set_brightness_blocking() we no longer need it. As a bonus, not having