[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <56042926-4921-3e77-ae0f-3bc6c462bb5e@collabora.com>
Date: Wed, 19 Oct 2022 15:48:08 +0200
From: AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>
To: xinlei.lee@...iatek.com, thierry.reding@...il.com,
u.kleine-koenig@...gutronix.de, matthias.bgg@...il.com,
jitao.shi@...iatek.com
Cc: linux-pwm@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org,
Project_Global_Chrome_Upstream_Group@...iatek.com
Subject: Re: [PATCH v4] pwm: mtk-disp: Fix the parameters calculated by the
enabled flag of disp_pwm
Il 19/10/22 11:42, xinlei.lee@...iatek.com ha scritto:
> From: xinlei lee <xinlei.lee@...iatek.com>
>
> 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 <xinlei.lee@...iatek.com>
> Reviewed-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
Powered by blists - more mailing lists