pwm: imx27: Don't use pwm consumer API
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 26 Jan 2024 10:16:25 +0000 (11:16 +0100)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 15 Feb 2024 11:28:02 +0000 (12:28 +0100)
commit1706175c682fdb3fbe0b70d50b137aaa270959db
treef48b2dce7118c5f053d5bbbe58f2805e8ffa9669
parentf8b403f5442194e8d92a8de20b2cc443d5ec64ff
pwm: imx27: Don't use pwm consumer API

Lowlevel driver callbacks are not supposed to use the consumer API
functions. Currently this works, but with the upcoming locking changes
this maybe results in dead locks. So directly access pwm->state.

Link: https://lore.kernel.org/r/20240126101624.2056801-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
drivers/pwm/pwm-imx27.c