]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: hdac_hdmi: Enable pin and converter in prepare
authorJeeja KP <jeeja.kp@intel.com>
Tue, 10 Jan 2017 12:27:48 +0000 (17:57 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 19 Jan 2017 15:43:04 +0000 (15:43 +0000)
commitb5613fc916310d85a5ad13f434cef50f97aff9f1
treeda3f82971e64619e9734e8a20e57ec25b4ada4a4
parent9f0f801fcb52744a8194c23a1a630aafc7908cfa
ASoC: hdac_hdmi: Enable pin and converter in prepare

Instead of enabling pin and cvt in pcm_open(), need to restore pin and
cvt state after system resume to restart the playback which is
paused/stopped before system suspend.
So enable pin and cvt in playback_prepare and call prepare when trigger
cmd is paused/started and resume to reconfigure pin and cvt.

Signed-off-by: Sachin Mokashi <sachinx.mokashi@intel.com>
Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdac_hdmi.c