lkml.org 
[lkml]   [2017]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [alsa-devel] [PATCH 1/2] ASoC: mediatek: add power-domain get/put ctrl for mt2701
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.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2017-02-16 19:27    [W:0.126 / U:0.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site