Linux kernel and device drivers for NXP i.MX platforms
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: phucduc.bui@gmail.com
Cc: imx@lists.linux.dev, Frank.Li@kernel.org,
	wsa+renesas@sang-engineering.com
Subject: Re: [PATCH 07/11] ASoC: renesas: msiof: Explain component open return value handling
Date: Fri, 16 Oct 2026 04:17:47 +0000	[thread overview]
Message-ID: <sashiko-outbox-173756@kernel.org> (raw)
In-Reply-To: <20261016040946.521195-8-phucduc.bui@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] asoc: commit message references msiof but patch modifies fsi
--

commit 1519b8d2e5e1f740b8b8e2dcb2ad6f3443c0c1db
Author: bui duc phuc <phucduc.bui@gmail.com>

ASoC: renesas: msiof: Explain component open return value handling

This commit adds a comment explaining why the open callback must return 0
on success to ensure the component is correctly marked as opened.

> ASoC: renesas: msiof: Explain component open return value handling

[Severity: Low]
This isn't a bug, but the commit subject and message explicitly reference
the msiof driver, while the patch actually modifies fsi_pcm_open() in the
fsi driver.

Should the commit subject and message be updated to accurately reflect the
fsi driver instead of msiof?

> diff --git a/sound/soc/renesas/fsi.c b/sound/soc/renesas/fsi.c
> index 88618e4b052d8..74e2ea002fbb1 100644
> --- a/sound/soc/renesas/fsi.c
> +++ b/sound/soc/renesas/fsi.c
> @@ -1820,6 +1820,11 @@ static int fsi_pcm_open(struct snd_soc_component *component,
>  	if (ret < 0)
>  		return ret;
>  
> +	/*
> +	 * ASoC only marks the component as opened when .open() returns 0.
> +	 * Since snd_pcm_hw_constraint_integer() may return 1, explicitly
> +	 * return 0 to ensure the component is correctly marked as opened.
> +	 */
>  	return 0;
>  }

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261016040946.521195-1-phucduc.bui@gmail.com?part=7

  reply	other threads:[~2026-10-16  4:17 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-16  4:09 [PATCH 00/11] ASoC: Address remaining PCM constraint issues phucduc.bui
2026-10-16  4:09 ` [PATCH 01/11] ASoC: amd: Explain component open return value handling phucduc.bui
2026-10-16  4:09 ` [PATCH 02/11] ASoC: apple: Explain DAI startup " phucduc.bui
2026-10-16  4:09 ` [PATCH 03/11] ASoC: atmel: Explain component open " phucduc.bui
2026-10-16  4:09 ` [PATCH 04/11] ASoC: codecs: Explain DAI startup " phucduc.bui
2026-10-16  9:19   ` Charles Keepax
2026-10-16  4:09 ` [PATCH 05/11] ASoC: imx-pcm-rpmsg: Explain component open " phucduc.bui
2026-10-16  4:09 ` [PATCH 06/11] ASoC: intel: atom: Explain DAI startup " phucduc.bui
2026-10-16  4:09 ` [PATCH 07/11] ASoC: renesas: msiof: Explain component open " phucduc.bui
2026-10-16  4:17   ` sashiko-bot [this message]
2026-10-16  4:09 ` [PATCH 08/11] ASoC: renesas: msiof: Remove redundant period constraint phucduc.bui
2026-10-16  4:09 ` [PATCH 09/11] ASoC: renesas: rz-ssi: Explain component open return value handling phucduc.bui
2026-10-16  4:09 ` [PATCH 10/11] ASoC: renesas: rz-ssi: Remove redundant component open callback phucduc.bui
2026-10-16  4:09 ` [PATCH 11/11] ASoC: rockchip: Explain DAI link startup return value handling phucduc.bui

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sashiko-outbox-173756@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=Frank.Li@kernel.org \
    --cc=imx@lists.linux.dev \
    --cc=phucduc.bui@gmail.com \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=wsa+renesas@sang-engineering.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox