pwm: meson: Add missing spin_lock_init()
authorAxel Lin <axel.lin@ingics.com>
Sat, 10 Sep 2016 01:55:49 +0000 (09:55 +0800)
committerThierry Reding <thierry.reding@gmail.com>
Fri, 21 Oct 2016 07:10:11 +0000 (09:10 +0200)
commitc699995663b40d61afcc14ca27f0106f13151772
tree329c9d4e81f6383f7c671cd3027a166f6fee988c
parent1001354ca34179f3db924eb66672442a173147dc
pwm: meson: Add missing spin_lock_init()

The driver uses the spin_lock but does not initialize it. Fix it.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-meson.c