]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
leds: turris-omnia: check for LED_COLOR_ID_RGB instead LED_COLOR_ID_MULTI
authorMarek Behún <kabel@kernel.org>
Fri, 30 Oct 2020 02:39:06 +0000 (03:39 +0100)
committerPavel Machek <pavel@ucw.cz>
Wed, 25 Nov 2020 12:25:28 +0000 (13:25 +0100)
commit98650b0874171cc443251f7b369d3b1544db9d4e
tree28f934c1c2eea6c9220162a158511eb57151743c
parentfca050bb3c81dc7e6df9b1d02f3007cbec0dd898
leds: turris-omnia: check for LED_COLOR_ID_RGB instead LED_COLOR_ID_MULTI

LED core does not allow LED_COLOR_ID_MULTI for now and instead for RGB
LEDs prefers LED_COLOR_ID_RGB.

Signed-off-by: Marek Behún <kabel@kernel.org>
Fixes: 77dce3a22e89 ("leds: disallow /sys/class/leds/*:multi:* for now")
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/leds-turris-omnia.c