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>
This commit is contained in:
parent
380c62466d
commit
8147760d86
@ -274,6 +274,7 @@ int slim_register_controller(struct slim_controller *ctrl)
|
||||
mutex_init(&ctrl->lock);
|
||||
mutex_init(&ctrl->sched.m_reconf);
|
||||
init_completion(&ctrl->sched.pause_comp);
|
||||
spin_lock_init(&ctrl->txn_lock);
|
||||
|
||||
dev_dbg(ctrl->dev, "Bus [%s] registered:dev:%p\n",
|
||||
ctrl->name, ctrl->dev);
|
||||
|
Loading…
Reference in New Issue
Block a user