]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
leds: lm3532: Fixes for the driver for stability
authorDan Murphy <dmurphy@ti.com>
Tue, 20 Aug 2019 19:53:05 +0000 (14:53 -0500)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 18 Oct 2019 08:25:56 +0000 (04:25 -0400)
commit7b08a65eba19d6b0f1bfb3f9034b46a334f5983c
tree553e56847066c97a1a61d1c91e1448d12b5cc440
parentfa7757bbda3e5668d10885420875a0e7e5791ce5
leds: lm3532: Fixes for the driver for stability

BugLink: https://bugs.launchpad.net/bugs/1848046
[ Upstream commit 6559ac32998248182572e1ccae79dc2eb40ac7c6 ]

Fixed misspelled words, added error check during probe
on the init of the registers, and fixed ALS/I2C control
mode.

Fixes: bc1b8492c764 ("leds: lm3532: Introduce the lm3532 LED driver")
Reported-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/leds/leds-lm3532.c