mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
slimbus: Use GFP_ATOMIC under spin lock
A spin lock is taken here so we should use GFP_ATOMIC. Signed-off-by: Wei Yongjun <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
c88c8d7aae
commit
ab9b3de701
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ int slim_do_transfer(struct slim_controller *ctrl, struct slim_msg_txn *txn)
|
|||
if (need_tid) {
|
||||
spin_lock_irqsave(&ctrl->txn_lock, flags);
|
||||
tid = idr_alloc(&ctrl->tid_idr, txn, 0,
|
||||
SLIM_MAX_TIDS, GFP_KERNEL);
|
||||
SLIM_MAX_TIDS, GFP_ATOMIC);
|
||||
txn->tid = tid;
|
||||
|
||||
if (!txn->msg->comp)
|
||||
|
|
|
|||
Loading…
Reference in a new issue