]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs35l41: Create shared function for errata patches
authorLucas Tanure <tanureal@opensource.cirrus.com>
Fri, 17 Dec 2021 11:57:02 +0000 (11:57 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 31 Dec 2021 13:21:03 +0000 (13:21 +0000)
commit8b713442802f1a3eecdffd71cb867ba637812619
tree3aae2dba05a5c2971ce4ea46e67392143a483cc0
parent974d316a5a4a9e24e7961fc77818c31ede41afcb
ASoC: cs35l41: Create shared function for errata patches

ASoC and HDA systems require the same errata patches, so
move it to the shared code using a function the correctly
applies the patches by revision

Also, move CS35L41_DSP1_CCM_CORE_CTRL write to errata
patch function as is required to be written at boot,
but not in regmap_register_patch sequence as will affect
waking up from hibernation

Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20211217115708.882525-5-tanureal@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/cs35l41.h
sound/soc/codecs/cs35l41-lib.c
sound/soc/codecs/cs35l41.c