qcacld-3.0: Remove PSOC sync protection for runtime PM resume

Unlike runtime PM suspend, resume may need happen synchronously
during driver shutdown or idle shutdown, hence remove PSOC sync
protection for runtime PM resume.

Change-Id: I4112215d3415dbe6da225d8feb2af7207d88753a
CRs-fixed: 2451994
这个提交包含在:
Yue Ma
2019-04-29 15:11:40 -07:00
提交者 nshrivas
父节点 77d8f3daf8
当前提交 80fb30c778

查看文件

@@ -1698,18 +1698,11 @@ static int wlan_hdd_pld_runtime_suspend(struct device *dev,
static int wlan_hdd_pld_runtime_resume(struct device *dev,
enum pld_bus_type bus_type)
{
struct osif_psoc_sync *psoc_sync;
int errno;
errno = osif_psoc_sync_op_start(dev, &psoc_sync);
if (errno)
return errno;
errno = wlan_hdd_runtime_resume(dev);
osif_psoc_sync_op_stop(psoc_sync);
return errno;
/* As opposite to suspend, Runtime PM resume can happen
* synchronously during driver shutdown or idle shutown,
* so remove PSOC sync protection here.
*/
return wlan_hdd_runtime_resume(dev);
}
#endif