Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5bb717a3 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soundwire: put soundwire in suspend state when system is idle"

parents 44f0c1db b1979cc2
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -1223,10 +1223,9 @@ static int swrm_probe(struct platform_device *pdev)
	}
	pm_runtime_set_autosuspend_delay(&pdev->dev, auto_suspend_timer);
	pm_runtime_use_autosuspend(&pdev->dev);
	pm_runtime_set_suspended(&pdev->dev);
	pm_runtime_set_active(&pdev->dev);
	pm_runtime_enable(&pdev->dev);
	if (!pm_runtime_enabled(&pdev->dev))
		dev_err(&pdev->dev, "%s: pm runtime not enabled\n", __func__);
	pm_runtime_mark_last_busy(&pdev->dev);

	return 0;
err_mstr_fail: