aboutsummaryrefslogtreecommitdiff
path: root/drivers/perf/Makefile
diff options
context:
space:
mode:
authorFlavio Suligoi <f.suligoi@asem.it>2024-04-17 17:31:05 +0200
committerLee Jones <lee@kernel.org>2024-05-10 15:44:29 +0100
commitf80460c5231bdd01b6836343b699caa7f190c537 (patch)
treefc07b81a60551a995afc12bddde24f53fa41552a /drivers/perf/Makefile
parent89c26f9ad3c578c093d57ff249838d848ae4ac61 (diff)
backlight: mp3309c: Fix LEDs flickering in PWM mode
The mp3309 has two configuration registers, named according to their address (0x00 and 0x01). In the second register (0x01), the bit DIMS (Dimming Mode Select) must be always 0 (zero), in both analog (via I2C commands) and PWM dimming mode. In the initial driver version, the DIMS bit was set in PWM mode and reset in analog mode. But if the DIMS bit is set in pwm dimming mode and other devices are connected on the same I2C bus, every I2C commands on the bus generates a flickering on the LEDs powered by the mp3309c. This change concerns the chip initialization and does not impact any existing device-tree configuration. Signed-off-by: Flavio Suligoi <f.suligoi@asem.it> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Link: https://lore.kernel.org/r/20240417153105.1794134-2-f.suligoi@asem.it Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/perf/Makefile')
0 files changed, 0 insertions, 0 deletions