gpio: Add missing spin_lock_init in gpio-ml-ioh driver
authorAxel Lin <axel.lin@gmail.com>
Wed, 1 Feb 2012 02:50:05 +0000 (10:50 +0800)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 20 May 2012 21:56:43 +0000 (22:56 +0100)
commit347e3c6d3ed876bb5c36189265be02e952679e09
treece0c0c58379fbdf9e1f1e5d7b5a0190d6743b72a
parent8369f66fc249ab872a370b0dc849e9a47a9f4921
gpio: Add missing spin_lock_init in gpio-ml-ioh driver

commit 7e3a70fb7bccada029c188c89bfbf3c0a63c1500 upstream.

This bug was introduced by commit 54be5663
"gpio-ml-ioh: Support interrupt function" which adds a spinlock to struct
ioh_gpio but never init the spinlock.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/gpio/gpio-ml-ioh.c