All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
To: Qianghua Wang <qianghua.wang@senarytech.com>
Cc: Mark Brown <broonie@kernel.org>,
	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>,
	 Bard Liao <yung-chuan.liao@linux.intel.com>,
	Kai Vehmanen <kai.vehmanen@linux.intel.com>,
	 Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>,
	bo liu <bo.liu@senarytech.com>
Subject: Re: [PATCH 1/1] ASoC: codecs: add SN622x SDCA SoundWire codec support
Date: Mon, 30 Nov 2026 14:52:33 +0100	[thread overview]
Message-ID: <aw1-kXWSesyxNj18@monoceros> (raw)
In-Reply-To: <20261130081210.40316-2-qianghua.wang@senarytech.com>

[-- Attachment #1: Type: text/plain, Size: 1159 bytes --]

On Mon, Nov 30, 2026 at 04:12:10PM +0800, Qianghua Wang wrote:
> +#include <linux/mod_devicetable.h>
> [...]
> +#include <linux/soundwire/sdw.h>

<linux/soundwire/sdw.h> already includes <linux/device-id/sdw.h>, so you
don't need <linux/mod_devicetable.h> (which compared to
<linux/device-id/sdw.h> pulls in a bunch of unneeded headers and thus
increases the build dependencies for your drivers).

> [...]
> +static const struct sdw_device_id sn622x_sdca_id[] = {
> +	/*
> +	 * SN6220: 0x184c and 0x6220. SN6224: 0x1850 and 0x6224.
> +	 * 0x6220/0x6224 follow SN624x (0x6244) part_id naming; not 0x1864 (SN624x).
> +	 */
> +	SDW_SLAVE_ENTRY_EXT(0x0496, 0x184c, 0x3, 0x1, 0),
> +	SDW_SLAVE_ENTRY_EXT(0x0496, 0x184c, 0x0, 0x1, 0),
> +	SDW_SLAVE_ENTRY_EXT(0x0496, 0x6220, 0x3, 0x1, 0),
> +	SDW_SLAVE_ENTRY_EXT(0x0496, 0x6220, 0x0, 0x1, 0),
> +	SDW_SLAVE_ENTRY_EXT(0x0496, 0x1850, 0x3, 0x1, 0),
> +	SDW_SLAVE_ENTRY_EXT(0x0496, 0x1850, 0x0, 0x1, 0),
> +	SDW_SLAVE_ENTRY_EXT(0x0496, 0x6224, 0x3, 0x1, 0),
> +	SDW_SLAVE_ENTRY_EXT(0x0496, 0x6224, 0x0, 0x1, 0),
> +	{},

No trailing , here please. And if you ask me, use { } with a space in
between.

Best regards
Uwe

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  parent reply	other threads:[~2026-11-30 13:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30  8:12 [PATCH 0/1] ASoC: codecs: add SN622x SDCA SoundWire codec support Qianghua Wang
2026-11-30  8:12 ` [PATCH 1/1] " Qianghua Wang
2026-11-30  8:37   ` sashiko-bot
2026-11-30 13:29   ` Pierre-Louis Bossart
2026-12-01  2:37     ` reply: " qianghua.wang
2026-11-30 13:52   ` Uwe Kleine-König [this message]
2026-11-30 12:00 ` [PATCH 0/1] " Mark Brown

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=aw1-kXWSesyxNj18@monoceros \
    --to=u.kleine-koenig@baylibre.com \
    --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=pierre-louis.bossart@linux.dev \
    --cc=qianghua.wang@senarytech.com \
    --cc=tiwai@suse.com \
    --cc=yung-chuan.liao@linux.intel.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 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.