[alsa-devel] [PATCH 1/2] ASoC: mediatek: add power-domain get/put ctrl for mt2701

Mark Brown broonie at kernel.org
Thu Feb 16 10:26:49 PST 2017


On Thu, Feb 16, 2017 at 01:27:15PM +0800, Garlic Tseng wrote:

>  	pm_runtime_enable(&pdev->dev);
>  	if (!pm_runtime_enabled(&pdev->dev))
>  		goto err_pm_disable;
> +	pm_runtime_get_sync(&pdev->dev);

You should really check for errors here.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20170216/92bdac0a/attachment.sig>


More information about the Linux-mediatek mailing list