]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: cs35l41: Avoid overwriting register patch
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Mon, 17 Jan 2022 16:08:25 +0000 (16:08 +0000)
committerTakashi Iwai <tiwai@suse.de>
Tue, 18 Jan 2022 13:07:12 +0000 (14:07 +0100)
commita0c11cb9c0693708d32648e36550424b7de838ec
tree44f4cb2a33c6ba3df3955ae655af4c1305426bc7
parent91a7e235ed4a9152a90cfe353328a1566bf380d5
ALSA: hda: cs35l41: Avoid overwriting register patch

regmap_register_patch can't be used to apply the probe sequence as a
patch is already registers with the regmap by
cs35l41_register_errata_patch and only a single patch can be attached to
a single regmap. The driver doesn't currently rely on a cache sync to
re-apply this probe sequence so simply switch it to a multi write.

Fixes: 6c4ddfa8b93f ("ALSA: hda: cs35l41: Add support for CS35L41 in HDA systems")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220117160830.709403-1-tanureal@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/cs35l41_hda.c