diff options
author | AngeloGioacchino Del Regno <[email protected]> | 2023-04-03 15:30:53 +0200 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2023-04-06 16:23:22 +0200 |
commit | 36dd7f530ae7d9ce9e853ffb8aa337de65c6600b (patch) | |
tree | 5d53f90cf585de8ea5c14f47c554d6c7a4d84db1 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | fa359c1938adbd04cf7e68786ea58366dddc3ad7 (diff) |
pwm: mtk-disp: Disable shadow registers before setting backlight values
If shadow registers usage is not desired, disable that before performing
any write to CON0/1 registers in the .apply() callback, otherwise we may
lose clkdiv or period/width updates.
Fixes: cd4b45ac449a ("pwm: Add MediaTek MT2701 display PWM driver support")
Signed-off-by: AngeloGioacchino Del Regno <[email protected]>
Reviewed-by: NĂcolas F. R. A. Prado <[email protected]>
Tested-by: NĂcolas F. R. A. Prado <[email protected]>
Reviewed-by: Alexandre Mergnat <[email protected]>
Tested-by: Alexandre Mergnat <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions