Skip to content

Commit bc4005e

Browse files
bravlbroonie
authored andcommitted
ASoC: tas571x: fix tas5733 num_controls
Commit e3de798 ("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: e3de798 ("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>
1 parent a784d60 commit bc4005e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/codecs/tas571x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ static const struct tas571x_chip tas5733_chip = {
834834
.supply_names = tas5733_supply_names,
835835
.num_supply_names = ARRAY_SIZE(tas5733_supply_names),
836836
.controls = tas5733_controls,
837-
.num_controls = ARRAY_SIZE(tas5717_controls),
837+
.num_controls = ARRAY_SIZE(tas5733_controls),
838838
.regmap_config = &tas5733_regmap_config,
839839
.vol_reg_size = 2,
840840
};

0 commit comments

Comments
 (0)