slimbus: core: add missing spin_lock_init on txn_lock
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 14 Jan 2019 13:44:49 +0000 (13:44 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 12:34:35 +0000 (13:34 +0100)
commit8147760d86e4c8938dfc44ef199837bbbb02f2f3
tree95372b67a49acf8e34dc29672ef30097244875f6
parent380c62466d024cd478adef4a3cb6ad2091a8af15
slimbus: core: add missing spin_lock_init on txn_lock

Add missing spin lock intialization this also fixes the spinlock bad magic
warning.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/slimbus/core.c