]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: hda: do not leave clock gating off upon error
authorKai Vehmanen <kai.vehmanen@linux.intel.com>
Wed, 25 Mar 2020 21:12:32 +0000 (16:12 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 26 Mar 2020 18:31:15 +0000 (18:31 +0000)
commit3e0f79d925c6a0cde26130258aeca4cccf8407cd
treed6c051586addd2599a9cd29a4a1a6a4aa76864f6
parent8a932248cc529cce29e63e6966f02424822cad52
ASoC: SOF: Intel: hda: do not leave clock gating off upon error

The misc clock gating (MISCBDCGE) is disabled for controller reset and
reenabled once reset is complete.

Fix the case when error happens during reset, and clock gating is
left disabled. The clock gating should be reenabled also in this case.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20200325211233.27394-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-ctrl.c