]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ASoC: hdac_hdmi: Add PM support
authorJeeja KP <jeeja.kp@intel.com>
Mon, 22 Feb 2016 02:20:33 +0000 (07:50 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 22 Feb 2016 21:25:49 +0000 (06:25 +0900)
commit571d507809812e1d9c06aa80be714bf39ece6b8e
tree17dd933b22e1dccb9c86f5e233c6ad19423597a6
parent7ed49700c4d6959dbfdf174023a57fc15a97c9ab
ASoC: hdac_hdmi: Add PM support

The codec registers are reset during S3. So need to reconfigure
all pins and DP1.2 feature again after resume from S3. Also
reprogram the required registers if the S3 was triggered during
playback.

In suspended state ELD notify callback is not processed, So add
ELD check for all pins as well.

Also turn the codec power domain OFF which is kept ON during
controller resequencing and codec reenumeration.

Signed-off-by: Jeeja KP <jeeja.kp@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