]> Git Repo - linux.git/commit
ASoC: Intel: wrap runtime_pm usage count under CONFIG_PM
authorVinod Koul <[email protected]>
Wed, 25 Feb 2015 16:07:52 +0000 (21:37 +0530)
committerMark Brown <[email protected]>
Thu, 26 Feb 2015 01:59:37 +0000 (10:59 +0900)
commit5bb400ce4a9b100a2dd3f5db17c4c76877cecade
treea66be22b9c64c92a34cdb6b87ff5e7df55813e01
parent3f2dcbeaeb2badb951a68e7d525ff4e55d0b0678
ASoC: Intel: wrap runtime_pm usage count under CONFIG_PM

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.

Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
sound/soc/intel/sst/sst_drv_interface.c
This page took 0.053508 seconds and 4 git commands to generate.