Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2177815pxb; Fri, 25 Mar 2022 12:28:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxaDe+AzMgZz40kiruzj+mT8Od8O4bQqy/hnx73BS61vAopO7Yihs+1uPAxLO2LNAC0JzfC X-Received: by 2002:a17:903:41c9:b0:154:25bf:7d01 with SMTP id u9-20020a17090341c900b0015425bf7d01mr13318455ple.23.1648236534925; Fri, 25 Mar 2022 12:28:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648236534; cv=none; d=google.com; s=arc-20160816; b=eIDC/Mmjz49077ZEEKGZgPjhoRnhdfZ23ZAuzE/LAbOXoK7r9hTWD9GXZLzrYa/ox9 RR4IAZhf4FIKYq/XkKbLIz5L/N4yhwvCIUI/7K2JUKgXDXEkg9ntPhdao/wZxr7yZ9pd uAsa105JaiZsI0ofsmcOUrZzpmJ+AKUGkP6ip/Wc9xrkm9nnboEZIurTaMqUse2gHshd 4EoqWWp2acJ1xzbOvQTHcnMFmYA74f7w0J13xDFeeSgRN1dQeGWkNsZtwm8BuEyestzV zv0tUE19IJ5K+W2MMfL4zOHAOgIM+LKPNWMUaJVVeMlYE22bGMHtDcKoHLwjPxyCEjX1 WGYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=x1V5sqdfwnDhnaXFlfTUIoBpjIBBjqflhn2AYxw9i2g=; b=jfNGBiHWcZTsvw9pBldawfw+hEtg/3r0lN2ipmG9Jdpq++tlNta2aF4jPB0qoO2JTY omPxDVNYNPdxZ+xtgvm3mL+6UFYGMqxKdYu/ge3EIWtJy5tFyswkDX/p9kKC8qO0ddX+ oadglWN7/r24cqGqWSMupjt5e0KLvtK30Vd1Z4WcoIt0M2/A77TH2nG2PwC/dUtaGyc6 CO5coOfv88B6PZE69WdZ1DM6C3WX1zTgxsKfGRKEMv1/ugLf3kOoSaDE01nbpA0qN0Oq GkAs7HYBteb3fRGBQ35P8fzzWYbHaQkot1gdBS345hS7pjvjN7Wv/CxCMU9i+wrV9AW7 P63g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="v8Sd2/2n"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id ip5-20020a17090b314500b001beef62c01asi3760797pjb.15.2022.03.25.12.28.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 12:28:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="v8Sd2/2n"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C6D3F197512; Fri, 25 Mar 2022 11:39:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376548AbiCYPci (ORCPT + 99 others); Fri, 25 Mar 2022 11:32:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42676 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377410AbiCYPYI (ORCPT ); Fri, 25 Mar 2022 11:24:08 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 499C56A00C; Fri, 25 Mar 2022 08:17:54 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E3698B827E0; Fri, 25 Mar 2022 15:17:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5B0EDC340E9; Fri, 25 Mar 2022 15:17:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1648221472; bh=xdY4I81YJ/lcJTydX2z5QiXTyr0xfg7lp1PlCRneQis=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=v8Sd2/2nwdaMGsNsa6ClJORRy87QQOju/x1S1xzBwx+cil2iSAfGggIuoiTgKKCaF KkdUu97uc5ppXE1odVEjavtOZ1LaSG4fnln+bPEW2hCL2z03vhU5tnnufvEvYAPqLU tfP9zutNI9T6o698oGa+MyfGjKjKbYryqIr4AkJk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Lars-Peter Clausen , Takashi Iwai Subject: [PATCH 5.16 18/37] ALSA: usb-audio: Add mute TLV for playback volumes on RODE NT-USB Date: Fri, 25 Mar 2022 16:14:28 +0100 Message-Id: <20220325150420.567067829@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220325150420.046488912@linuxfoundation.org> References: <20220325150420.046488912@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lars-Peter Clausen commit 0f306cca42fe879694fb5e2382748c43dc9e0196 upstream. For the RODE NT-USB the lowest Playback mixer volume setting mutes the audio output. But it is not reported as such causing e.g. PulseAudio to accidentally mute the device when selecting a low volume. Fix this by applying the existing quirk for this kind of issue when the device is detected. Signed-off-by: Lars-Peter Clausen Cc: Link: https://lore.kernel.org/r/20220311201400.235892-1-lars@metafoo.de Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/usb/mixer_quirks.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) --- a/sound/usb/mixer_quirks.c +++ b/sound/usb/mixer_quirks.c @@ -3362,9 +3362,10 @@ void snd_usb_mixer_fu_apply_quirk(struct if (unitid == 7 && cval->control == UAC_FU_VOLUME) snd_dragonfly_quirk_db_scale(mixer, cval, kctl); break; - /* lowest playback value is muted on C-Media devices */ - case USB_ID(0x0d8c, 0x000c): - case USB_ID(0x0d8c, 0x0014): + /* lowest playback value is muted on some devices */ + case USB_ID(0x0d8c, 0x000c): /* C-Media */ + case USB_ID(0x0d8c, 0x0014): /* C-Media */ + case USB_ID(0x19f7, 0x0003): /* RODE NT-USB */ if (strstr(kctl->id.name, "Playback")) cval->min_mute = 1; break;