[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250528-tas5733-fix-controls-size-v1-1-5c70595accaf@openpixelsystems.org>
Date: Wed, 28 May 2025 10:25:48 +0200
From: Bram Vlerick <bram.vlerick@...npixelsystems.org>
To: Kevin Cernekee <cernekee@...omium.org>,
Liam Girdwood <lgirdwood@...il.com>, Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>
Cc: linux-sound@...r.kernel.org, linux-kernel@...r.kernel.org,
peter@...sgaard.com, kamel.bouhara@...tlin.com,
Bram Vlerick <bram.vlerick@...npixelsystems.org>
Subject: [PATCH] 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@...npixelsystems.org>
---
sound/soc/codecs/tas571x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/tas571x.c b/sound/soc/codecs/tas571x.c
index 00b131294547812f1406056d17e6c42ddf92003f..6bf37c77f0a77b11464a3560b1680fb89b0ed2dd 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,
};
---
base-commit: 76f8d35964e4de1b464de22e4f3fdc14937ed854
change-id: 20250528-tas5733-fix-controls-size-4211444d4b31
Best regards,
--
Bram Vlerick <bram.vlerick@...npixelsystems.org>
Powered by blists - more mailing lists