mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
qcacld-3.0: Avoid crash when psoc trans is rejected
Crash is seen when the mode change and shutdown happens in parallel. Mode change is the driver trans and shutdown is a psoc trans. If mode change is going on and shutdown req comes then shutddown trans is rejected. Currently driver crashes whenever psoc trans is rejected. Avoid BUG_ON when the psoc trans is rejected. CRs-Fixed: 2732103 Change-Id: Iad1ab4f188702ed581e3b41c1cdef1c495015048
This commit is contained in:
parent
9b00b5d67e
commit
e9b335d67b
1 changed files with 0 additions and 1 deletions
|
|
@ -859,7 +859,6 @@ static void hdd_soc_recovery_shutdown(struct device *dev)
|
|||
int errno;
|
||||
|
||||
errno = osif_psoc_sync_trans_start_wait(dev, &psoc_sync);
|
||||
QDF_BUG(!errno);
|
||||
if (errno)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue