* [PATCH 0/2] ASoC: fsl_mqs: Minor driver cleanups
@ 2026-11-30 1:54 Chancel Liu
2026-11-30 1:54 ` [PATCH 1/2] ASoC: fsl_mqs: Remove unnecessary semicolons Chancel Liu
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Chancel Liu @ 2026-11-30 1:54 UTC (permalink / raw)
To: Shengjiu Wang, Xiubo Li, Fabio Estevam, Nicolin Chen,
Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai
Cc: linux-sound, linuxppc-dev, linux-kernel, Chancel Liu
Clean up minor issues in the fsl_mqs driver. Remove unnecessary
semicolons after function definitions and disable runtime PM if
component registration fails.
Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
---
Chancel Liu (2):
ASoC: fsl_mqs: Remove unnecessary semicolons
ASoC: fsl_mqs: Disable runtime PM on probe failure
sound/soc/fsl/fsl_mqs.c | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
---
base-commit: 626d2233d48884f22c16011a6e44f905824bd8e0
change-id: 20261130-for-next-95ba2dc0b34a
Best regards,
--
Chancel Liu <chancel.liu@nxp.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/2] ASoC: fsl_mqs: Remove unnecessary semicolons
2026-11-30 1:54 [PATCH 0/2] ASoC: fsl_mqs: Minor driver cleanups Chancel Liu
@ 2026-11-30 1:54 ` Chancel Liu
2026-11-30 1:54 ` [PATCH 2/2] ASoC: fsl_mqs: Disable runtime PM on probe failure Chancel Liu
2026-11-30 19:13 ` [PATCH 0/2] ASoC: fsl_mqs: Minor driver cleanups Mark Brown
2 siblings, 0 replies; 5+ messages in thread
From: Chancel Liu @ 2026-11-30 1:54 UTC (permalink / raw)
To: Shengjiu Wang, Xiubo Li, Fabio Estevam, Nicolin Chen,
Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai
Cc: linux-sound, linuxppc-dev, linux-kernel, Chancel Liu
From: Chancel Liu <chancel.liu@nxp.com>
Remove unnecessary semicolons after the fsl_mqs_sm_read() and
fsl_mqs_sm_write() function definitions.
Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
---
sound/soc/fsl/fsl_mqs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/fsl/fsl_mqs.c b/sound/soc/fsl/fsl_mqs.c
index fd4a5f4a56be..ce12cc79b9c4 100644
--- a/sound/soc/fsl/fsl_mqs.c
+++ b/sound/soc/fsl/fsl_mqs.c
@@ -87,7 +87,7 @@ static int fsl_mqs_sm_read(void *context, unsigned int reg, unsigned int *val)
return scmi_imx_misc_ctrl_get(mqs_priv->soc->sm_index, &num, val);
return -EINVAL;
-};
+}
static int fsl_mqs_sm_write(void *context, unsigned int reg, unsigned int val)
{
@@ -98,7 +98,7 @@ static int fsl_mqs_sm_write(void *context, unsigned int reg, unsigned int val)
return scmi_imx_misc_ctrl_set(mqs_priv->soc->sm_index, val);
return -EINVAL;
-};
+}
static int fsl_mqs_hw_params(struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params,
--
2.50.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] ASoC: fsl_mqs: Disable runtime PM on probe failure
2026-11-30 1:54 [PATCH 0/2] ASoC: fsl_mqs: Minor driver cleanups Chancel Liu
2026-11-30 1:54 ` [PATCH 1/2] ASoC: fsl_mqs: Remove unnecessary semicolons Chancel Liu
@ 2026-11-30 1:54 ` Chancel Liu
2026-11-30 1:59 ` sashiko-bot
2026-11-30 19:13 ` [PATCH 0/2] ASoC: fsl_mqs: Minor driver cleanups Mark Brown
2 siblings, 1 reply; 5+ messages in thread
From: Chancel Liu @ 2026-11-30 1:54 UTC (permalink / raw)
To: Shengjiu Wang, Xiubo Li, Fabio Estevam, Nicolin Chen,
Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai
Cc: linux-sound, linuxppc-dev, linux-kernel, Chancel Liu
From: Chancel Liu <chancel.liu@nxp.com>
Disable runtime PM if the ASoC component registration fails to keep the
probe error path balanced.
Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
---
sound/soc/fsl/fsl_mqs.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/sound/soc/fsl/fsl_mqs.c b/sound/soc/fsl/fsl_mqs.c
index ce12cc79b9c4..b171120952aa 100644
--- a/sound/soc/fsl/fsl_mqs.c
+++ b/sound/soc/fsl/fsl_mqs.c
@@ -312,9 +312,14 @@ static int fsl_mqs_probe(struct platform_device *pdev)
ret = devm_snd_soc_register_component(&pdev->dev, &soc_codec_fsl_mqs,
&fsl_mqs_dai, 1);
if (ret)
- return ret;
+ goto err_pm_disable;
return 0;
+
+err_pm_disable:
+ pm_runtime_disable(&pdev->dev);
+
+ return ret;
}
static void fsl_mqs_remove(struct platform_device *pdev)
--
2.50.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] ASoC: fsl_mqs: Disable runtime PM on probe failure
2026-11-30 1:54 ` [PATCH 2/2] ASoC: fsl_mqs: Disable runtime PM on probe failure Chancel Liu
@ 2026-11-30 1:59 ` sashiko-bot
0 siblings, 0 replies; 5+ messages in thread
From: sashiko-bot @ 2026-11-30 1:59 UTC (permalink / raw)
To: Chancel Liu; +Cc: linux-sound
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] ASoC: fsl_mqs: missing Fixes trailer for fsl_mqs_probe() runtime
PM fix
--
commit 8ea5d6a6828d3d2d318a9c8e3ee12ff0ddd9cbcb
Author: Chancel Liu <chancel.liu@nxp.com>
> ASoC: fsl_mqs: Disable runtime PM on probe failure
>
> Disable runtime PM if the ASoC component registration fails to keep the
> probe error path balanced.
>
> Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
[Severity: Low]
This fixes the missing pm_runtime_disable() cleanup on the probe error path
present since the driver was added. Should this include:
Fixes: 9e28f6532c61 ("ASoC: fsl_mqs: Add MQS component driver")
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261130-for-next-v1-0-378732659693@nxp.com?part=2
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 0/2] ASoC: fsl_mqs: Minor driver cleanups
2026-11-30 1:54 [PATCH 0/2] ASoC: fsl_mqs: Minor driver cleanups Chancel Liu
2026-11-30 1:54 ` [PATCH 1/2] ASoC: fsl_mqs: Remove unnecessary semicolons Chancel Liu
2026-11-30 1:54 ` [PATCH 2/2] ASoC: fsl_mqs: Disable runtime PM on probe failure Chancel Liu
@ 2026-11-30 19:13 ` Mark Brown
2 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2026-11-30 19:13 UTC (permalink / raw)
To: Shengjiu Wang, Xiubo Li, Fabio Estevam, Nicolin Chen,
Liam Girdwood, Jaroslav Kysela, Takashi Iwai, Chancel Liu
Cc: linux-sound, linuxppc-dev, linux-kernel, Chancel Liu
On Mon, 30 Nov 2026 10:54:43 +0900, Chancel Liu wrote:
> ASoC: fsl_mqs: Minor driver cleanups
>
> Clean up minor issues in the fsl_mqs driver. Remove unnecessary
> semicolons after function definitions and disable runtime PM if
> component registration fails.
>
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.5
Thanks!
[1/2] ASoC: fsl_mqs: Remove unnecessary semicolons
https://git.kernel.org/broonie/sound/c/16ff7b03696f
[2/2] ASoC: fsl_mqs: Disable runtime PM on probe failure
https://git.kernel.org/broonie/sound/c/4c09bd928bfa
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-12-01 12:26 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 1:54 [PATCH 0/2] ASoC: fsl_mqs: Minor driver cleanups Chancel Liu
2026-11-30 1:54 ` [PATCH 1/2] ASoC: fsl_mqs: Remove unnecessary semicolons Chancel Liu
2026-11-30 1:54 ` [PATCH 2/2] ASoC: fsl_mqs: Disable runtime PM on probe failure Chancel Liu
2026-11-30 1:59 ` sashiko-bot
2026-11-30 19:13 ` [PATCH 0/2] ASoC: fsl_mqs: Minor driver cleanups Mark Brown
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.