summaryrefslogtreecommitdiffstats
path: root/sound/soc/nuc900
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2015-04-30 10:57:41 +0200
committerMark Brown <broonie@kernel.org>2015-04-30 22:08:56 +0200
commit27796e755a2fc6707cdf9b484a56395f703e4f3d (patch)
tree6b0ea6ebded3d6acf2e2113d641b029a82a4523e /sound/soc/nuc900
parentLinux 4.1-rc1 (diff)
downloadlinux-27796e755a2fc6707cdf9b484a56395f703e4f3d.tar.xz
linux-27796e755a2fc6707cdf9b484a56395f703e4f3d.zip
ASoC: davinci-mcasp: Correct pm status check in suspend callback
pm_runtime_enabled() will only tell if the pm runtime has been enabled for the device, which is done at probe time but will not tell the actual power state of the device. pm_runtime_active() provides this information. This patch fixes a kernel crash when doing suspend when McASP is not active. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/nuc900')
0 files changed, 0 insertions, 0 deletions