Эх сурвалжийг харах

Merge "asoc: codecs: bolero: ignore children for pm suspend"

qctecmdr 5 жил өмнө
parent
commit
6a164b940d

+ 1 - 0
asoc/codecs/bolero/rx-macro.c

@@ -4042,6 +4042,7 @@ static int rx_macro_probe(struct platform_device *pdev)
 	pm_runtime_set_autosuspend_delay(&pdev->dev, AUTO_SUSPEND_DELAY);
 	pm_runtime_use_autosuspend(&pdev->dev);
 	pm_runtime_set_suspended(&pdev->dev);
+	pm_suspend_ignore_children(&pdev->dev, true);
 	pm_runtime_enable(&pdev->dev);
 
 	return 0;

+ 1 - 0
asoc/codecs/bolero/wsa-macro.c

@@ -3199,6 +3199,7 @@ static int wsa_macro_probe(struct platform_device *pdev)
 	pm_runtime_set_autosuspend_delay(&pdev->dev, AUTO_SUSPEND_DELAY);
 	pm_runtime_use_autosuspend(&pdev->dev);
 	pm_runtime_set_suspended(&pdev->dev);
+	pm_suspend_ignore_children(&pdev->dev, true);
 	pm_runtime_enable(&pdev->dev);
 
 	return ret;