ASoC: hdac_hdmi: Fix to keep codec power active during enumeration.
authorRamesh Babu <ramesh.babu@intel.com>
Wed, 17 Feb 2016 16:04:01 +0000 (21:34 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 19 Feb 2016 15:56:53 +0000 (00:56 +0900)
commitaeaccef0bc0d364792ecc9455cb13d007fd7a371
tree02aa6b0ec992f4c84a9caf3a297c661f5ebdbd0e
parent54dfa1eaf4f8222811900922c67f539e60cc69c2
ASoC: hdac_hdmi: Fix to keep codec power active during enumeration.

The codec power is turned OFF in the first explicit call to
pm_runtime_suspend to keep the i915 refcount balanced. During regular
operation, the power is turned ON/OFF in runtime PM handlers.

Signed-off-by: Ramesh Babu <ramesh.babu@intel.com>
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdac_hdmi.c