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

This commit is contained in:
Linux Build Service Account 2018-09-03 11:06:48 -07:00 • committed by Gerrit - the friendly Code Review server
commit c21a9d0318

View file

@ -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);