summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRichard Fitzgerald <rf@opensource.cirrus.com>2024-01-29 19:27:24 +0300
committerMark Brown <broonie@kernel.org>2024-02-01 15:57:18 +0300
commit07687cd0539f8185b6ba0c0afba8473517116d6a (patch)
treea6eb9c7d2a36cf19d3b3c05d64f4f21fa8216424 /include
parentcd38ccbecdace1469b4e0cfb3ddeec72a3fad226 (diff)
downloadlinux-07687cd0539f8185b6ba0c0afba8473517116d6a.tar.xz
ASoC: cs35l56: Don't add the same register patch multiple times
Move the call to cs35l56_set_patch() earlier in cs35l56_init() so that it only adds the register patch on first-time initialization. The call was after the post_soft_reset label, so every time this function was run to re-initialize the hardware after a reset it would call regmap_register_patch() and add the same reg_sequence again. Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Fixes: 898673b905b9 ("ASoC: cs35l56: Move shared data into a common data structure") Link: https://msgid.link/r/20240129162737.497-6-rf@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions