[alsa-devel] ASoC updates for v4.2
Mark Brown
broonie at kernel.org
Tue Jun 23 12:14:51 CEST 2015
On Tue, Jun 23, 2015 at 03:45:02PM +0800, Koro Chen wrote:
> So I think maybe it should be modified like this?
> static int mtk_afe_pcm_dev_remove(struct platform_device *pdev)
> {
> pm_runtime_disable(&pdev->dev);
> + if (!pm_runtime_status_suspended(&pdev->dev))
> + mtk_afe_runtime_suspend(&pdev->dev);
> snd_soc_unregister_component(&pdev->dev);
> snd_soc_unregister_platform(&pdev->dev);
> return 0;
Yes.
> It can fix both build warning and unbalanced calls of suspend/resume.
> Should I send a patch for this?
Yes, please.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150623/cf71ca33/attachment.sig>
More information about the Alsa-devel
mailing list