qcacld-3.0: Stop dsc transaction in case of reinit failure

Incase of any error in the driver reinit the dsc transaction is
not stopped resulting in the timeout and system instability.

To mitigate the above issue, stop the dsc timeout incase of
reinit failure.

Change-Id: I59b37581a2e6909b61a32344ae9c4af2118558eb
CRs-Fixed: 2780376
This commit is contained in:
Arun Kumar Khandavalli 2020-09-22 21:38:46 +05:30 committed by snandini
parent ed8fecee78
commit a16d7d09ca

View File

@ -679,12 +679,11 @@ static int hdd_soc_recovery_reinit(struct device *dev,
return errno;
errno = __hdd_soc_recovery_reinit(dev, bdev, bid, bus_type);
if (errno)
return errno;
osif_psoc_sync_trans_stop(psoc_sync);
return 0;
return errno;
}
static void __hdd_soc_remove(struct device *dev)