mirror of
https://github.com/torvalds/linux.git
synced 2026-05-21 13:27:57 +02:00
ASoC: tas571x: fix tas5733 num_controls
Commite3de7984e4("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:e3de7984e4("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>
This commit is contained in:
parent
a784d606ac
commit
bc4005ef43
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user