Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C0389C04A95 for ; Thu, 29 Sep 2022 08:26:05 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 0B50DE12; Thu, 29 Sep 2022 10:25:13 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 0B50DE12 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1664439963; bh=LxCkKCsWLb1uINJicIi+36bDlVxqRIaKAneFQArleyo=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=XzBtAku7C51+hrta5jP0VJ2zL1Gx9QcLECyxwloRbpeidJZE4DLAIXm0yFsTgevia lr7DK8j75xtbecM3pgnqF3IZUvNJSUUQxfBuZIggp+rLEQex8UVXWEX8/btTphcW2q ZAIP6iVNPQGwd/G7XzIVXVfhaY7rb7dZfJuLgysY= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 7359BF8016D; Thu, 29 Sep 2022 10:25:12 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B3916F8023A; Thu, 29 Sep 2022 10:25:10 +0200 (CEST) Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id A086BF80109 for ; Thu, 29 Sep 2022 10:25:05 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz A086BF80109 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="Ltn6uDeJ"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="M8plpHv6" Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 4F3271F45B; Thu, 29 Sep 2022 08:25:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1664439905; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FAu9v47NtyT179rSTE5f/TJ/7ClkV4K+OauHDJetc+c=; b=Ltn6uDeJm7Pm30jyyELhUQ+Fh+wkyEKxUXvPWt9lUzcseME4wIXv5DwsprUWMqIY49rbok JkEJSxcVU+FV3Wc9y867OPR2xeG9W/vqWt0EFZPRmy8bUYECUdwkNCGm6FEtcvRdADm6IT h6igatHrGqzUfjmlEjsHq/Sb6SldQ6M= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1664439905; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FAu9v47NtyT179rSTE5f/TJ/7ClkV4K+OauHDJetc+c=; b=M8plpHv64ItNvFfCk5S61ZSuez3VvUcj+38r7YBHxZw9xjTM9M2LlzU3EE1lbpxE3unbhy WbIt3LSKSwRjo3Cg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 2578A13A71; Thu, 29 Sep 2022 08:25:05 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id Pdp9B2FWNWOdGAAAMHmgww (envelope-from ); Thu, 29 Sep 2022 08:25:05 +0000 Date: Thu, 29 Sep 2022 10:25:04 +0200 Message-ID: <87pmfe8u5b.wl-tiwai@suse.de> From: Takashi Iwai To: Jaroslav Kysela Subject: Re: [PATCH 0/8] ALSA: hda: Add model option to codec drivers, too In-Reply-To: References: <20220929073545.1085-1-tiwai@suse.de> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Cc: alsa-devel@alsa-project.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Thu, 29 Sep 2022 09:46:47 +0200, Jaroslav Kysela wrote: > > On 29. 09. 22 9:35, Takashi Iwai wrote: > > Hi, > > > > this is a trivial patch set to add the "model" option to each HD-audio > > codec driver that works equivalently with snd-hda-intel or SOF > > driver's model option. It makes it easer for users to specify the > > quirk to the right target. > > I am not convinced, if it's "easier" for users. Perhaps, it will make > more sense to add this option to the snd_intel_dspcfg module (so the > model can be controlled in the one place). I admit that users are a > bit confused with the snd-hda-intel and SOF differences. Yes, and that's another reason for moving this rather to codec. By applying directly the option to the codec driver, it works no matter which control driver is used. And, snd_intel_dspcfg is no better choice, IMO. If you have multiple controllers, you'll hit the same problem as snd-hda-intel. (And SOF ignores that use case completely, but it's fine, as SOF is more or less bound only with the onboard controller.) Takashi