[PATCH,2/2] pwm: mtk-disp: Fix the parameters calculated by the enabled flag of disp_pwm.

xinlei.lee xinlei.lee at mediatek.com
Tue Aug 23 02:20:34 PDT 2022


On Tue, 2022-08-23 at 11:32 +0300, Krzysztof Kozlowski wrote:
> On 23/08/2022 10:31, xinlei.lee at mediatek.com wrote:
> > From: xinlei lee <xinlei.lee at mediatek.com>
> > 
> > In the original mtk_disp_pwm_get_state() function, the result of
> > reading
> > con0 & BIT(0) is enabled as disp_pwm. 
> > In order to conform to the register table, we should use the
> > disp_pwm 
> > base address as the enabled judgment.
> > 
> > Fixes: 3f2b16734914 ("pwm: mtk-disp: Implement atomic API
> > .get_state()")
> > Signed-off-by: xinlei lee <xinlei.lee at mediatek.com>
> 
> This is a fix so not really related with the change adding new
> device.
> Send them separately in the future.
> 
> Best regards,
> Krzysztof

Hi Krzysztof:

Thanks for your suggestion.
If there are no other comments on this revision, I will separate them
in the next edition.

Best Regards!
Xinlei




More information about the Linux-mediatek mailing list