ASoC: hdac_hdmi : Ensuring proper setting of output widget power state
authorAbhijeet Kumar <abhijeet.kumar@intel.com>
Thu, 15 Feb 2018 08:35:38 +0000 (14:05 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 15 Feb 2018 15:05:05 +0000 (15:05 +0000)
commit753597fbb7031ff147d4f2862426699e4ad8efca
tree744dc8e117b3c50358b851b2f218ebea240a379b
parent0a4b30d8ff580cfd059d217a6724c5c7412b7f86
ASoC: hdac_hdmi : Ensuring proper setting of output widget power state

In usecases like hot plug-unplug DP panel or modeset during a playback,
sometimes we observe no audio after codec resets. During no audio
condition, we have noticed that the power state of the pin or the
connector is D3. Optimizing the way we set the power mitigates the
issue. With this changes the verb is sent to set the power state and
waits until actual state reaches target state. Thus ensuring power
state is set.

Signed-off-by: Abhijeet Kumar <abhijeet.kumar@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdac_hdmi.c