pwm: meson: Fix missing spin_lock_init
Subsystems (2)
PATCH RESEND 1/1 pwm: meson: Fix missing spin_lock_init
The driver uses the spin_lock but not initialize it, fix it.
Signed-off-by Axel Lin <[email protected]>
Acked-by Neil Armstrong <[email protected]>
---
Hi Thierry,
Seems you did'nt pick up this patch.
This patch was sent on
http://www.spinics.net/lists/linux-pwm/msg04847.html
drivers/pwm/pwm-meson.c | 1 + 1 file changed, 1 insertion(+)
drivers/pwm/pwm-meson.c +1 -0
@@ -474,6 +474,7 @@ static int meson_pwm_probe(struct platform_device *pdev)if (IS_ERR (meson->base))return PTR_ERR (meson->base); +spin_lock_init (&meson->lock); meson->chip.dev = &pdev->dev; meson->chip.ops = &meson_pwm_ops; meson->chip.base =-1 ;
Signature · 1 line
2.7.4