diff options
author | xinlei lee <[email protected]> | 2022-12-02 19:35:06 +0100 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2022-12-06 12:46:03 +0100 |
commit | 0b5ef3429d8f78427558ab0dcbfd862098ba2a63 (patch) | |
tree | 15d77767cdebdd94458ae9b9aae24324e549ec81 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 45558b3abb87eeb2cedb8a59cb2699c120b5102a (diff) |
pwm: mtk-disp: Fix the parameters calculated by the enabled flag of disp_pwm
In the original mtk_disp_pwm_get_state() function wrongly uses bit 0 of
CON0 to judge if the PWM is enabled.
However that is indicated by a bit (at a machine dependent position) in
the DISP_PWM_EN register. Fix this accordingly.
Fixes: 3f2b16734914 ("pwm: mtk-disp: Implement atomic API .get_state()")
Signed-off-by: xinlei lee <[email protected]>
Reviewed-by: Uwe Kleine-König <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Uwe Kleine-König <[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