[PATCH v3] pwm: mtk_disp: Fix the disable flow of disp_pwm

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Wed May 31 01:25:03 PDT 2023


Il 31/05/23 05:10, Shuijing Li ha scritto:
> 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 <shuijing.li at mediatek.com>
> Reviewed-by: Matthias Brugger <matthias.bgg at gmail.com>
> Tested-by: Fei Shao <fshao at chromium.org>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>





More information about the linux-arm-kernel mailing list