leds: lm3692x: Disable chip on brightness 0
authorGuido Günther <agx@sigxcpu.org>
Mon, 6 Jan 2020 15:48:53 +0000 (16:48 +0100)
committerPavel <pavel@ucw.cz>
Tue, 7 Jan 2020 13:09:27 +0000 (14:09 +0100)
commit260718b3a35d23fe89d27cc7b5e8bd30f4bba1aa
tree33557da2698d770c28d6369daf232819cdd581a5
parent4a8d2bee2080d32511b70d8558036894f42617fd
leds: lm3692x: Disable chip on brightness 0

Otherwise there's a noticeable glow even with brightness 0. Also
turning off the regulator can save additional power.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/leds-lm3692x.c