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

From: Alexandre Mergnat
Date: Wed May 31 2023 - 05:17:53 EST


On 31/05/2023 05:10, Shuijing Li wrote:
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.

Reviewed-by: Alexandre Mergnat <amergnat@xxxxxxxxxxxx>

--
Regards,
Alexandre