[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170216182649.k6vj3rpvzgbquax5@sirena.org.uk>
Date: Thu, 16 Feb 2017 18:26:49 +0000
From: Mark Brown <broonie@...nel.org>
To: Garlic Tseng <garlic.tseng@...iatek.com>
Cc: tiwai@...e.de, srv_heupstream@...iatek.com,
linux-mediatek@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
alsa-devel@...a-project.org, ir.lian@...iatek.com
Subject: Re: [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.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists