* [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 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