Re: [PATCH RFC leds + net-next v2 1/1] net: phy: marvell: add support for PHY LEDs via LED class
From: Marek Behun
Date: Thu Jul 23 2020 - 17:46:20 EST
On Thu, 23 Jul 2020 23:35:31 +0200
Andrew Lunn <andrew@xxxxxxx> wrote:
> I thought the brightness file disappeared when a trigger takes
> over. So is this possible?
>
> Andrew
It does not disappear nor should it. When you have a LED with 10 levels
of brightness, you want to be able to configure with which brightness
it blinks when controlled by a trigger. SW triggers use that brightness
which was stored into the brightness file when blinking the LED.
Marek