leds: qnap-mcu: Fix state numbering for USB LED
authorHeiko Stuebner <heiko@sntech.de>
Mon, 4 Aug 2025 11:49:48 +0000 (13:49 +0200)
committerLee Jones <lee@kernel.org>
Tue, 2 Sep 2025 07:54:02 +0000 (08:54 +0100)
commitfe4ffdbab4bb3cda1d72b93f7d2c3f7ea3df415d
treef72733d6218629e48c2ca3ca6a6be1afd8e124b7
parent7d5c3cac1f395324673e9ec32b65e4f6ff23fcb9
leds: qnap-mcu: Fix state numbering for USB LED

The "@Cx" commands span a number of different functions, from the status
and USB LEDs to the buzzer and power button.

So change the USB-LED enum to start at 0 and adapt the offset accordingly
to not suggest @CD would relate to the USB-LED - while in fact "@CD" is a
state of the status LED.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250804114949.3127417-2-heiko@sntech.de
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/leds-qnap-mcu.c