On 4/18/23 20:02, Jacek Anaszewski wrote:
Hi Uwe,
On 4/18/23 00:27, Uwe Kleine-König wrote:
hello Jacek,
On Mon, Apr 17, 2023 at 09:51:06PM +0200, Jacek Anaszewski wrote:
[...]
int led_set_brightness_nopm_cansleep()
ret =__led_set_brightness();
if (ret == -ENOTSUPP)
ret = __led_set_brightness_blocking();
return ret;
Did you just reinvent led_set_brightness_sync() and the only thing we
need is:
Actually you're right, but led_set_brightness_sync() needs to be
supplemented with the call to __led_set_brightness_blocking().
I meant __led_set_brightness() of course.
--
Best regards,
Jacek Anaszewski