diff options
author | Shuijing Li <[email protected]> | 2023-05-31 11:10:01 +0800 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2023-06-23 15:46:17 +0200 |
commit | bc13d60e4e1e945b34769a4a4c2b172e8552abe5 (patch) | |
tree | bd2de7ea2de8911ed272008e8fa5787898ffa9ea /drivers/usb/cdns3/cdns3-debug.h | |
parent | 05b743db9d8cc4e51b3eb77889d24ab9aa2bf169 (diff) |
pwm: mtk_disp: Fix the disable flow of disp_pwm
There is a flow error in the original mtk_disp_pwm_apply() function.
If this function is called when the clock is disabled, there will be a
chance to operate the disp_pwm register, resulting in disp_pwm exception.
Fix this accordingly.
Fixes: 888a623db5d0 ("pwm: mtk-disp: Implement atomic API .apply()")
Signed-off-by: Shuijing Li <[email protected]>
Reviewed-by: Matthias Brugger <[email protected]>
Tested-by: Fei Shao <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Reviewed-by: Alexandre Mergnat <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions