ALSA: hda/tegra: add driver flag for runtime PM
authorSameer Pujar <spujar@nvidia.com>
Tue, 22 Jan 2019 07:33:21 +0000 (13:03 +0530)
committerTakashi Iwai <tiwai@suse.de>
Tue, 22 Jan 2019 08:21:56 +0000 (09:21 +0100)
commit9935d55b02906dec1b0795873cc4a1a7bb55b8f1
treee643b47fef01a8d271df6843dd0eae456c313429
parent707e0759f2f4aefcc5c3f08ce5fb9e98495fdc93
ALSA: hda/tegra: add driver flag for runtime PM

AZX_DCAPS_PM_RUNTIME flag is added to indicate support for runtime PM.
azx_has_pm_runtime() is used to check if above is enabled and thus
forbid runtime PM calls if needed.

Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_tegra.c