Linux Sound subsystem development
 help / color / mirror / Atom feed
From: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
To: qianghua.wang@senarytech.com, 'Mark Brown' <broonie@kernel.org>
Cc: linux-sound@vger.kernel.org, alsa-devel@alsa-project.org,
	'Liam Girdwood' <lgirdwood@gmail.com>,
	'Jaroslav Kysela' <perex@perex.cz>,
	'Takashi Iwai' <tiwai@suse.com>,
	'Cezary Rojewski' <cezary.rojewski@intel.com>,
	'Peter Ujfalusi' <peter.ujfalusi@linux.intel.com>,
	'Kai Vehmanen' <kai.vehmanen@linux.intel.com>,
	'bo liu' <bo.liu@senarytech.com>
Subject: Re: reply: [PATCH v3 1/3] ASoC: codecs: add SN622x SDCA SoundWire codec support
Date: Thu, 3 Dec 2026 13:35:28 +0100	[thread overview]
Message-ID: <38822201-42c1-4caa-8adb-fffbcd6fcb96@linux.dev> (raw)
In-Reply-To: <00f501dd82c7$75bc9960$6135cc20$@senarytech.com>

On 12/3/26 02:41, qianghua.wang@senarytech.com wrote:
> Hi Pierre,
> Fair point on ordering — I’m not trying to land a one-sided extract that only SN622x uses without a plan for SN624x.
> Why SN624x stays on the existing driver in this series
> SN624x is already in-tree and validated on real platforms. This v3 series is driven by SN622x bring-up and review feedback (including reducing duplication with 624x). Pulling SN624x onto senary-sdca-sdw-common in the same series would mean a large mechanical refactor of a driver that is working today, with extra retest on jack/UAJ + speaker + DMIC paths we don’t want to destabilize while 622x is still new.
> 
> What I’m proposing instead
> This series: add senary-sdca-sdw-common.c and wire it only into the SN622x module; leave sn624x-sdca-sdw.c unchanged.
> Follow-up (separate patches): switch SN624x to the same helpers once SN622x is settled — same split you’d expect: common helpers first (or with 622x as reference), then a SN624x-only refactor with its own Tested-by / CI and no functional change intended.
> If you’d rather block 622x until 624x is converted first, I can do that, but my read is that maintainers wanted to see decoupled products (622 ≠ 624) without forcing a big 624x churn in the initial upstream series. Happy to follow whatever ordering you and Mark prefer.

My preference as a reviewer is to focus on what's different between
drivers or specific to a given hardware version, rather than scroll down
pages after pages of identical stuff. It's boring and difficult to review.
I don't view the extraction of common parts as a major risk for the
existing SN624 but it's not zero-risk either - every refactoring can
lead to mistakes.

Mark, what would you recommend?


  reply	other threads:[~2026-12-03 13:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02  2:22 [PATCH v3 0/3] ASoC: add Senary SN622x SDCA SoundWire support Qianghua Wang
2026-12-02  2:22 ` [PATCH v3 1/3] ASoC: codecs: add SN622x SDCA SoundWire codec support Qianghua Wang
2026-12-02  2:52   ` sashiko-bot
2026-12-02 15:45   ` Pierre-Louis Bossart
2026-12-03  1:41     ` reply: " qianghua.wang
2026-12-03 12:35       ` Pierre-Louis Bossart [this message]
2026-12-02  2:22 ` [PATCH v3 2/3] ASoC: sdw_utils: add SN622x codec_info and DAPM hooks Qianghua Wang
2026-12-02  2:40   ` sashiko-bot
2026-12-02  2:22 ` [PATCH v3 3/3] ASoC: Intel: soc-acpi: add SN622x PTL/NVL SoundWire machines Qianghua Wang

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=38822201-42c1-4caa-8adb-fffbcd6fcb96@linux.dev \
    --to=pierre-louis.bossart@linux.dev \
    --cc=alsa-devel@alsa-project.org \
    --cc=bo.liu@senarytech.com \
    --cc=broonie@kernel.org \
    --cc=cezary.rojewski@intel.com \
    --cc=kai.vehmanen@linux.intel.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-sound@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=peter.ujfalusi@linux.intel.com \
    --cc=qianghua.wang@senarytech.com \
    --cc=tiwai@suse.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