[alsa-devel] [PATCH] ASoC: davinci-mcasp: Correct pm status check in suspend callback

Mark Brown broonie at kernel.org
Thu Apr 30 22:09:02 CEST 2015


On Thu, Apr 30, 2015 at 11:57:41AM +0300, Peter Ujfalusi wrote:
> 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.

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/20150430/e1f01c44/attachment.sig>


More information about the Alsa-devel mailing list