Re: [PATCH v3] leds: gpio: Set max brightness to 1

From: Pavel Machek
Date: Thu Feb 18 2021 - 10:53:59 EST


On Mon 2021-01-25 21:08:57, Dylan Van Assche wrote:
> GPIO LEDs only know 2 states: ON or OFF and do not have PWM capabilities.
> However, the max brightness is reported as 255.
>
> This patch sets the max brightness value of a GPIO controlled LED to 1.
>
> Tested on my PinePhone 1.2.
>
> Signed-off-by: Dylan Van Assche <me@xxxxxxxxxxxxxxxxx>

I believe I have applied this already.

Thanks for patches,
Pavel

--
http://www.livejournal.com/~pavelmachek

Attachment: signature.asc
Description: PGP signature