Browse Source

Merge "soc: swr-mstr-ctrl: porting fix from wcd controller to mstr controller"

Linux Build Service Account 6 years ago
parent
commit
c21a9d0318
1 changed files with 2 additions and 0 deletions
  1. 2 0
      soc/swr-mstr-ctrl.c

+ 2 - 0
soc/swr-mstr-ctrl.c

@@ -1879,6 +1879,8 @@ int swrm_wcd_notify(struct platform_device *pdev, u32 id, void *data)
 		    (swrm->state == SWR_MSTR_UP)) {
 			dev_dbg(swrm->dev, "%s: SWR master is already UP: %d\n",
 				__func__, swrm->state);
+			list_for_each_entry(swr_dev, &mstr->devices, dev_list)
+				swr_reset_device(swr_dev);
 		} else {
 			pm_runtime_mark_last_busy(&pdev->dev);
 			mutex_unlock(&swrm->reslock);