Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH] ASoC: SOF: imx8: remove unused regmap field from imx8m_chip_data
@ 2026-09-02 17:49 Ștefan Ghețu
  0 siblings, 0 replies; 3+ messages in thread
From: Ștefan Ghețu @ 2026-09-02 17:49 UTC (permalink / raw)
  To: lgirdwood, peter.ujfalusi, yung-chuan.liao, daniel.baluta,
	broonie
  Cc: kai.vehmanen, pierre-louis.bossart, perex, tiwai,
	sound-open-firmware, linux-sound, linux-kernel,
	Ștefan Ghețu

The regmap member of struct imx8m_chip_data became unused in
commit a71b261c19a4 ("ASoC: SOF: imx8m: Use reset controller API to control the DSP"),
which converted the runstall handling to the reset controller API and
removed all accesses to it. The struct member was left behind.

imx8m_probe() only assigns dap and run_stall, and the imx8ulp path
stores its regmap directly in common->chip_pdata rather than in this
struct.

Signed-off-by: Ștefan Ghețu <stefanghetu9@gmail.com>
---
 sound/soc/sof/imx/imx8.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/sof/imx/imx8.c b/sound/soc/sof/imx/imx8.c
index 7e9eab2e30347..c2b4d379a3a3a 100644
--- a/sound/soc/sof/imx/imx8.c
+++ b/sound/soc/sof/imx/imx8.c
@@ -36,7 +36,6 @@
 
 struct imx8m_chip_data {
 	void __iomem *dap;
-	struct regmap *regmap;
 	struct reset_control *run_stall;
 };
 
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [PATCH] ASoC: SOF: imx8: remove unused regmap field from imx8m_chip_data
@ 2026-09-02 15:53 Ștefan Ghețu
  2026-09-03 12:50 ` Mark Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Ștefan Ghețu @ 2026-09-02 15:53 UTC (permalink / raw)
  To: lgirdwood, peter.ujfalusi, yung-chuan.liao, daniel.baluta,
	broonie
  Cc: kai.vehmanen, pierre-louis.bossart, Vijendar.Mukunda, perex,
	tiwai, sound-open-firmware, linux-sound, linux-kernel,
	Ștefan Ghețu

The regmap member of struct imx8m_chip_data became unused in
commit a71b261c19a4 ("ASoC: SOF: imx8m: Use reset controller API to control the DSP"),
which converted the runstall handling to the reset controller API and
removed all accesses to it. The struct member was left behind.

imx8m_probe() only assigns dap and run_stall, and the imx8ulp path
stores its regmap directly in common->chip_pdata rather than in this
struct.

Signed-off-by: Ștefan Ghețu <stefanghetu9@gmail.com>
---
 sound/soc/sof/imx/imx8.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/soc/sof/imx/imx8.c b/sound/soc/sof/imx/imx8.c
index 7e9eab2e30347..c2b4d379a3a3a 100644
--- a/sound/soc/sof/imx/imx8.c
+++ b/sound/soc/sof/imx/imx8.c
@@ -36,7 +36,6 @@
 
 struct imx8m_chip_data {
 	void __iomem *dap;
-	struct regmap *regmap;
 	struct reset_control *run_stall;
 };
 
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-03 18:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-02 17:49 [PATCH] ASoC: SOF: imx8: remove unused regmap field from imx8m_chip_data Ștefan Ghețu
  -- strict thread matches above, loose matches on Subject: below --
2026-09-02 15:53 Ștefan Ghețu
2026-09-03 12:50 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox