|
@@ -9692,7 +9692,7 @@ static int __hdd_psoc_idle_restart(struct hdd_context *hdd_ctx)
|
|
|
{
|
|
|
int ret;
|
|
|
|
|
|
- hdd_soc_idle_restart_lock();
|
|
|
+ hdd_soc_idle_restart_lock(hdd_ctx->parent_dev);
|
|
|
|
|
|
ret = hdd_wlan_start_modules(hdd_ctx, false);
|
|
|
|
|
@@ -9725,7 +9725,7 @@ int hdd_trigger_psoc_idle_restart(struct hdd_context *hdd_ctx)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
- hdd_soc_idle_restart_lock();
|
|
|
+ hdd_soc_idle_restart_lock(hdd_ctx->parent_dev);
|
|
|
ret = pld_idle_restart(hdd_ctx->parent_dev, hdd_psoc_idle_restart);
|
|
|
hdd_soc_idle_restart_unlock();
|
|
|
|
|
@@ -14027,7 +14027,7 @@ static int hdd_mode_change_psoc_idle_restart(struct device *dev)
|
|
|
|
|
|
if (!hdd_ctx)
|
|
|
return -EINVAL;
|
|
|
- hdd_soc_idle_restart_lock();
|
|
|
+ hdd_soc_idle_restart_lock(dev);
|
|
|
ret = hdd_wlan_start_modules(hdd_ctx, false);
|
|
|
hdd_soc_idle_restart_unlock();
|
|
|
|