]> 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)
commit4884c1485ce3d1aa171832cd1487208e88f95d37
tree9fdbc6cbca57a287f29fe93a59a321f06964492a
parente114ed8829c8695aa5eaa7b75473b28b512bbbd9
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