[alsa-devel] [PATCH] ASoC: Intel: wrap runtime_pm usage count under CONFIG_PM

Mark Brown broonie at kernel.org
Thu Feb 26 02:59:45 CET 2015


On Wed, Feb 25, 2015 at 09:37:52PM +0530, Vinod Koul wrote:
> The struct dev_pm_ops defines usage_count only when CONFIG_PM is defined. So
> we should use this variable only in cases where this falg is true.
> So we define a local variable and read the value under this flag. In non PM
> cases, we set this to 1.

Applied, thanks.
-------------- 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/20150226/9c453d0d/attachment.sig>


More information about the Alsa-devel mailing list