mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 22:23:14 -04:00
qcacmn: Release the spin lock before return
Currently in interrupt handler of per CE, spin lock is taken for send or receive and returns with out releasing the lock held if target register access is not allowed. This condition will lead to kernel panic if some other context is trying for the same lock. Change-Id: I115f6fbb006d28097168342aa4add3526ad3939d CRs-Fixed: 2077464
This commit is contained in:
parent
e72a02d4e7
commit
26cf747681
1 changed files with 1 additions and 1 deletions
|
|
@ -2103,7 +2103,7 @@ more_watermarks:
|
|||
HOST_IS_COPY_COMPLETE_MASK);
|
||||
} else {
|
||||
HIF_ERROR("%s: target access is not allowed", __func__);
|
||||
return CE_state->receive_count;
|
||||
goto unlock_end;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue