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

2019-02-06 Thread Jacek Anaszewski
Hi Dmitry, On 2/5/19 11:20 PM, 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 introduction of set_brightness_bl

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

2019-02-06 Thread Sven Van Asbroeck
On Tue, Feb 5, 2019 at 5:20 PM 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 introduction of > set_brigh