ASoC: hdac_hdmi: Fix to wait for D3 before powering off codec
authorSubhransu S. Prusty <subhransu.s.prusty@intel.com>
Mon, 22 Feb 2016 02:20:32 +0000 (07:50 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 22 Feb 2016 21:25:49 +0000 (06:25 +0900)
commit7ed49700c4d6959dbfdf174023a57fc15a97c9ab
treed9693b428a618366b1521381c2dab5bd33e77aa2
parentab85f5b36ea3474622303a36293e63cf78f4a797
ASoC: hdac_hdmi: Fix to wait for D3 before powering off codec

Powering off codec immediately after sending D3 verb may not set
the node to D3 state. So wait for a confirmation response before
shutting down codec.

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