[PATCH 1/4] pwm: meson: Drop always false check from .request()

Martin Blumenstingl martin.blumenstingl at googlemail.com
Sat Nov 20 15:34:25 PST 2021


On Mon, Nov 8, 2021 at 2:46 PM Uwe Kleine-König
<u.kleine-koenig at pengutronix.de> wrote:
>
> In .request() pwm_get_chip_data() returns NULL always since commit
> e926b12c611c ("pwm: Clear chip_data in pwm_put()"). (And if it didn't
> returning 0 would be wrong because then .request() wouldn't reenable
> the clk which the other driver code depends on.)
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>



More information about the linux-amlogic mailing list