mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
msm: ipa4: fix the rmnet_ctl tx spin_lock init issue
Add the spin_lock init for rmnet_ctl tx lock. Change-Id: Ic9837d0ddad493dbeb9fc2566a9756b33811c40a Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
This commit is contained in:
parent
e5127624bd
commit
7d97a47c9b
1 changed files with 1 additions and 0 deletions
|
|
@ -104,6 +104,7 @@ int ipa3_rmnet_ctl_init(void)
|
|||
skb_queue_head_init(&rmnet_ctl_ipa3_ctx->tx_queue);
|
||||
rmnet_ctl_ipa3_ctx->state = IPA_RMNET_CTL_NOT_REG;
|
||||
mutex_init(&rmnet_ctl_ipa3_ctx->lock);
|
||||
spin_lock_init(&rmnet_ctl_ipa3_ctx->tx_lock);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue