From mboxrd@z Thu Jan 1 00:00:00 1970 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 8CC61C433F5 for ; Tue, 8 Mar 2022 09:07:27 +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 C3198174E; Tue, 8 Mar 2022 10:06:34 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C3198174E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1646730444; bh=b16gJCQFnfitbp/wbTnh4yfCBRsHFCL0FyNBS5tyfi4=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=Cg2kTl7HO9dJNdcLDpZqjp9+pyL0XtOhM9ZvFd6Q+xvxLLaP3HvMaHU11I61XhiM/ gW9OF6th48MC3NXAiuhHg6Pfq/2ZwEy3hWJRUmVgGeOMi0P5dXQeo4dLjmfVFT0ztz iUI5OPgOupChHoJ8QcoBIWLGyI9jZnGF9Mr3dYcw= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 64719F8025E; Tue, 8 Mar 2022 10:06:34 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id D4747F8026A; Tue, 8 Mar 2022 10:06:32 +0100 (CET) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) (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 A0A18F800D1 for ; Tue, 8 Mar 2022 10:06:30 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz A0A18F800D1 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="KcHn5pur"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="4cDxvBvD" Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 29000210F5; Tue, 8 Mar 2022 09:06:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1646730390; 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=Xt5VdlMG1mEWjFRouj5ZIgmONOGtSaKCGiKgINNQ+G4=; b=KcHn5purinJLLpm7L3chbz6e5dCKzVsKhrHzlX2FrsAY06p7PulzPRAxkquhpz+/qU0B5V zHJTh3ivunDHPnbpto9xXbo6Vplyz13Eitq+TcUhCRLgaa6xWdOiO+er+yF8fM09eJxHkV 0RkT9VGa6OIfyGGa+6lPsBLkVptnfuA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1646730390; 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=Xt5VdlMG1mEWjFRouj5ZIgmONOGtSaKCGiKgINNQ+G4=; b=4cDxvBvDAe1VdBRpw1ovh6mRY7n6iVNxGWF/0I5r7775VIeaY2yEsd1gJBpPUHo3fG8rBJ 6dG0I+56NtbhI6BQ== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 154EFA3B8D; Tue, 8 Mar 2022 09:06:29 +0000 (UTC) Date: Tue, 08 Mar 2022 10:06:29 +0100 Message-ID: From: Takashi Iwai To: "Geoffrey D. Bennett" Subject: Re: [PATCH 0/2] ALSA: scarlett2: Add "Standalone" switch In-Reply-To: References: User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: Hin-Tak Leung , alsa-devel@alsa-project.org, Vladimir Sadovnikov 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 Sun, 06 Mar 2022 16:20:40 +0100, Geoffrey D. Bennett wrote: > > Hi Takashi, > > I discovered an internal "standalone" switch on all the Scarlett Gen > 2/3 interfaces with internal mixers. After enabling this switch, the > interface will act as a standalone mixer (according to its previous > configuration) when not connected to a USB host. The interfaces come > from the factory with the switch off, and the vendor driver enables it > without question. This patch adds a new ALSA control to set the switch > on or off. > > This is the first configuration item that is common between the Gen 2 > and 3 interfaces but with a different offset, so the patch is in two > parts. The first patch allows for the same configuration item to have > a different offset between Gen 2/3 and the second patch adds the new > switch. > > Regards, > Geoffrey. > > Geoffrey D. Bennett (2): > ALSA: scarlett2: Split scarlett2_config_items[] into 3 sections > ALSA: scarlett2: Add support for the internal "standalone" switch Thanks, applied both patches now. Takashi