]> git.itanic.dy.fi Git - linux-stable/commit
pwm: omap-dmtimer: Drop locking
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 5 Dec 2023 09:56:17 +0000 (10:56 +0100)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 20 Dec 2023 15:22:50 +0000 (16:22 +0100)
commit01b571fbbac40bfc266c03e84ab9a8ab2ddd2486
treecb625fbdf06811f1381b83d488fb4532b68dd6f6
parent46cfec2a865ae967ea4366287a7d9a16ad5b8b6f
pwm: omap-dmtimer: Drop locking

The pwm driver only provides a single PWM line, so there are no concurrent
calls of the callbacks from different consumers. A single consumer is
expected not to do concurrent calls into the pwm framework. So there is
nothing to serialize and the lock can go away.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-omap-dmtimer.c