generic: silence led set_brightness error message
authorChukun Pan <[email protected]>
Thu, 20 Feb 2025 12:04:09 +0000 (20:04 +0800)
committerHauke Mehrtens <[email protected]>
Sun, 16 Mar 2025 18:50:21 +0000 (19:50 +0100)
commit3a1bc14733c6a6f7c9f6cc1d6191651fe6e148d4
tree0c334090396fe9b1af8d75b9b6758f8903152f83
parent043df82cea89786f1dcdfe47af1736bf8833fde9
generic: silence led set_brightness error message

Currently, if the phy driver does not implement the led_brightness_set
function, setting the LED will result in the following error message:

leds mdio-bus:*:green:lan: Setting an LED's brightness failed (-524)

Backport a patch to silence this error message.

Signed-off-by: Chukun Pan <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18080
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/generic/backport-6.6/890-v6.11-leds-core-Omit-set_brightness-error-message-for-a.patch [new file with mode: 0644]
OSZAR »