From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=103.209.128.100 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796347305; b=0pfyvdt6Nqp+fmVJVff69VlGi6FCxPkODdmFyWMovaOXOb/hYirzgky11T1Snd/Ve7gF oRgna7S5+fuTUwoz4ZpNa7KBQ29yg3GjIdoC8um1CPwCZ1kqorwFakPtSX/79uCclMgQp +90wsXW0CQtLCK04zEjSql+Nw8cLAkMVl6j7/c5Y08VAliRvbIE/v9Z/UOSC5i92gbGpq JKGuCyVJpstjG57OSj7rXUH7vG3L8a2FcXAqsk+GWZnHxOQH0tvy7Q3EXYmim2dNBpcXZ 2kTNHncWj0tihUeGfgWHGUJFkAJcJut7a8pgDU7kGuxwpVdnIBYiaTUJcz49OnO6uQw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796347305; h=DMARC-Filter:Received:From:To:Cc:References:In-Reply-To:Subject:Date: Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding: X-Mailer:Thread-Index:Content-Language:X-HM-Tid:X-HM-MType: X-HM-Spam-Status:DKIM-Signature; bh=ED/eyD2FozON+eiPnwYLA/YZ+X7yk/PJY0vN4CtAozY=; b=qZqPm06+BoeOnlZ9kI82nQ/3jiVhWefnS9kah8jytxMw47AOhODCFtChecEpvGo/8LbC DISWkHqKqy76y47bS/p6Nc6kwyD42EyoriGC9YRICiIjwtBJ6fHxXA4aHYS0D3Iy4yuhg y83x5dSE/A9xH2osw4ltCtVES5wmQeINtMmLZlCvCuWBO6+L/JnOKbC1zVgU10DD8fHuZ 9wKI7XtJNIl+w+CcOsutNDE7YwSmHfC6+TZ6Ey7Pjgj4yerijGPAp5dsakEVPMQYKr5a4 o290aaSIWa4vBxMnwpGg7NWrfSI+M8w0W8rqVSPAH6Awx5zQ7yen6D5uRRgj9tkMsgA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=senarytech.com; spf=pass smtp.mailfrom=senarytech.com; dkim=pass header.d=senarytech.com header.i=@senarytech.com header.a=rsa-sha256 header.s=default header.b="bCL29J/3"; arc=none smtp.remote-ip=103.209.128.100 Received: from mail-m128100.netease.com (mail-m128100.netease.com [103.209.128.100]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 40F71606A332 for ; Fri, 4 Dec 2026 01:21:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 40F71606A332 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=senarytech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=senarytech.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=senarytech.com header.i=@senarytech.com header.a=rsa-sha256 header.s=default header.b=bCL29J/3 Received: from Wangqianghua (unknown [27.38.136.176]) by smtp.qiye.163.com (Hmail) with ESMTP id 570a9b999; Fri, 4 Dec 2026 09:21:31 +0800 (GMT+08:00) From: To: "'Mark Brown'" , "'Pierre-Louis Bossart'" Cc: , , "'Liam Girdwood'" , "'Jaroslav Kysela'" , "'Takashi Iwai'" , "'Cezary Rojewski'" , "'Peter Ujfalusi'" , "'Kai Vehmanen'" , "'bo liu'" References: <20261202022209.77448-1-qianghua.wang@senarytech.com> <20261202022209.77448-2-qianghua.wang@senarytech.com> <7b068354-633e-4b51-8e19-210400998b5a@linux.dev> <00f501dd82c7$75bc9960$6135cc20$@senarytech.com> <38822201-42c1-4caa-8adb-fffbcd6fcb96@linux.dev> In-Reply-To: Subject: reply: [PATCH v3 1/3] ASoC: codecs: add SN622x SDCA SoundWire codec support Date: Fri, 4 Dec 2026 09:21:32 +0800 Message-ID: <000601dd838d$cd1425e0$673c71a0$@senarytech.com> X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQHxj+PzLyzroMojeJQgeFiiELZ1pwJbcNzRAkxfw6UCQbfH4AJOb5GkAkSup0G2yBXzAA== Content-Language: zh-cn X-HM-Tid: 0aa23ea467ec09d8kunmbe782076158215 X-HM-MType: 1 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWRgWCB1ZQUpXWS1ZQUlXWQ8JGhUIEh9ZQVlDS0pMVkgeGh1MSh4fTkhDT1YVFA kWGhdVEwETFhoSFyQUDg9ZV1kYEgtZQVlJTFVIQ1VKSE1VSkxNWVdZFhoPEhUdFFlBWU9LSFVKS0 lCQ0NMVUpLS1VLWQY+ DKIM-Signature: a=rsa-sha256; b=bCL29J/3u9xy66Kr+Nk5SMV/YVaYS9auia9zkbsNQaXdHgBhem6JLtzdOpY5KNv38O7ftgkFmZLF0OMfT8WP4CyyUnLvfa0UUNEkjASD82RIjsyJaGxYte3vF22U1Lo2ACCN99TY1dcqtpMCvPq8PFkAQlqiZNMynOFxX468Ug0=; s=default; c=relaxed/relaxed; d=senarytech.com; v=1; bh=ED/eyD2FozON+eiPnwYLA/YZ+X7yk/PJY0vN4CtAozY=; h=date:mime-version:subject:message-id:from; Hi Mark, Pierre, Understood =97 I=92ll respin the series as: Extract shared SDCA/SDW helpers from the in-tree sn624x-sdca-sdw driver = into senary-sdca-sdw-common (intended no functional change for SN624x). Add the SN622x driver on top of that common code (plus sdw_utils / ACPI patches as before). I=92ll drop the v3 ordering (622x + common while leaving 624x = untouched). v4 will follow that split unless you prefer separate patch sets for (1) and (2). Thanks, Qianghua=A0=A0=A0 -----Original----- From: Mark Brown =20 Sent: 21:23 12/3 2026 To: Pierre-Louis Bossart Cc: qianghua.wang@senarytech.com; linux-sound@vger.kernel.org; alsa-devel@alsa-project.org; 'Liam Girdwood' ; 'Jaroslav Kysela' ; 'Takashi Iwai' ; = 'Cezary Rojewski' ; 'Peter Ujfalusi' ; 'Kai Vehmanen' ; 'bo liu' Subject: Re: reply: [PATCH v3 1/3] ASoC: codecs: add SN622x SDCA = SoundWire codec support On Thu, Dec 03, 2026 at 01:35:28PM +0100, Pierre-Louis Bossart wrote: > My preference as a reviewer is to focus on what's different between=20 > drivers or specific to a given hardware version, rather than scroll=20 > 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=20 > existing SN624 but it's not zero-risk either - every refactoring can=20 > lead to mistakes. > Mark, what would you recommend? I would tend to prefer to factor the code out of the existing driver = then add the new devices rather than add the new devices and then merge - as you say it's more code to review, and if there's two separate = copies with potentially unintended differences there's always a chance for = things to go wrong in the process of deduplicating.