]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Skylake: Fix to turn off hdmi power on probe failure
authorSodhi, VunnyX <vunnyx.sodhi@intel.com>
Fri, 28 Oct 2016 11:29:41 +0000 (16:59 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 28 Oct 2016 16:29:09 +0000 (17:29 +0100)
commit5b705dec06202374ba339ec3142dbcb60be13781
tree9fdbc6cbca57a287f29fe93a59a321f06964492a
parent990a8940f0e8748ef25b3ae54a82176906886993
ASoC: Intel: Skylake: Fix to turn off hdmi power on probe failure

HDMI codec is required to be powered up before controller initialization
for successful enumeration of codec. If the probe fails it needs to be
powered off to balance the power state of HDMI codec.

This fix balances the reference count in the error path before turning
off the codec.

Reported-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Sodhi, VunnyX <vunnyx.sodhi@intel.com>
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl.c