aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorBram Vlerick <bram.vlerick@openpixelsystems.org>2025-05-28 10:25:48 +0200
committerMark Brown <broonie@kernel.org>2025-05-28 11:50:12 +0100
commitbc4005ef43104da589951dba69291360c6a11ae7 (patch)
tree2fdee152079c6226a8319fd50bf65f85d330ff1d /sound
parentASoC: codecs: wcd93xx: Few regulator supplies fixes (diff)
downloadlinux-rng-bc4005ef43104da589951dba69291360c6a11ae7.tar.xz
linux-rng-bc4005ef43104da589951dba69291360c6a11ae7.zip
ASoC: tas571x: fix tas5733 num_controls
Commit e3de7984e451 ("ASoC: tas571x: add separate tas5733 controls") introduces a separate struct for the tas5733 controls but did not update the num_controls with the correct ARRAY_SIZE. Fixes: e3de7984e451 ("ASoC: tas571x: add separate tas5733 controls") Signed-off-by: Bram Vlerick <bram.vlerick@openpixelsystems.org> Acked-by: Peter Korsgaard <peter@korsgaard.com> Link: https://patch.msgid.link/20250528-tas5733-fix-controls-size-v1-1-5c70595accaf@openpixelsystems.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/tas571x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/tas571x.c b/sound/soc/codecs/tas571x.c
index 00b131294547..6bf37c77f0a7 100644
--- a/sound/soc/codecs/tas571x.c
+++ b/sound/soc/codecs/tas571x.c
@@ -834,7 +834,7 @@ static const struct tas571x_chip tas5733_chip = {
.supply_names = tas5733_supply_names,
.num_supply_names = ARRAY_SIZE(tas5733_supply_names),
.controls = tas5733_controls,
- .num_controls = ARRAY_SIZE(tas5717_controls),
+ .num_controls = ARRAY_SIZE(tas5733_controls),
.regmap_config = &tas5733_regmap_config,
.vol_reg_size = 2,
};