]> Gentwo Git Trees - linux/.git/commit
ASoC: cs35l56: Set fw_regs table after getting REVID
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Tue, 23 Sep 2025 13:03:25 +0000 (14:03 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 28 Sep 2025 06:27:15 +0000 (08:27 +0200)
commitab91835e61ab56d3964f51480955c9661678c269
tree05592a3eb9b7ca03d6d08bc97ea592b3630f83fe
parent9cf5b8b69bfccf3d98d31f640244437a452daa80
ASoC: cs35l56: Set fw_regs table after getting REVID

Defer setting the cs35l56_base.fw_regs pointer until after the REVID has
been read in cs35l56_hw_init(). Also make the corresponding change to the
cs35l56_hda drivers to prevent a build break.

This is preparing for firmware registers that change address between
revisions of the same device.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/cs35l56.h
sound/hda/codecs/side-codecs/cs35l56_hda.c
sound/hda/codecs/side-codecs/cs35l56_hda_i2c.c
sound/hda/codecs/side-codecs/cs35l56_hda_spi.c
sound/soc/codecs/cs35l56-i2c.c
sound/soc/codecs/cs35l56-sdw.c
sound/soc/codecs/cs35l56-shared.c
sound/soc/codecs/cs35l56-spi.c