Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3979247pxb; Tue, 25 Jan 2022 00:31:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJxg5QEXm1pZFFOXVswjp5eiF74HhR7sP0jsoJno7pk6s4Lev7hMk1OIjo1DjvFGrn9ARO0d X-Received: by 2002:a50:ec07:: with SMTP id g7mr19861859edr.197.1643099508092; Tue, 25 Jan 2022 00:31:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643099508; cv=none; d=google.com; s=arc-20160816; b=otKyjM6MLriCri9s9vrbWnVl6hqMqp2hLNK1AwC1+CI7w9QDFiFk5+9JHznuzdA5Ev NK7C1E5Yzp+TBRDJMWVnKBZCE5tIUsuQyUMtsh7tZwDMLjFTFkPv4sgSXBsTzDn1lu3n 0T7ecU8FytnDKFCokEcE2BZiTncHRtq0G6Jn/7Uw1Dz1SQ6J3Ay4+aM92gtlhPtR56f/ /FwVykSYAHAeYU4qNbdurozj+fn3Sb++36RkAJXvzjS6crSWnoLXLpdF6sov5I3aZWrD jwJ2SoMzxU+XNsMPYyTbtldfSIxyaSBEsPJ4wsEGqByDNtYTg4q8Plx6QfJAziOWqyhX gc0g== 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=Yir8KQCIo9NZJhIvHTer2eaJfMaNYjrPWG3HFgIV1cE=; b=GYAaTzGx0z1W+440/Mp6hm0afOu4bGwdH23CI65j/HMgUpjbbx7FUe2OxSFv4KkwPv wyfm8HxfseezAxA6oYLVbaPIc9eoH5dY6DMTdSqoS6uZrbS/LawNKGTIB4SxIvXbiJO3 dDmjHxiyEJ9XZm3NblNpJtuLV8I3VqpfiMWjQmS+ZLsPW+LX7enlQbdTYk62H0KDM4uK 4cxLvuoaEXhMGDDDsTeL3UBNTofDUY+tIXjGNIJ/tRrrm5f0s9WUgLF060jcCVD9VDVs xj4TZDRgyIZIqQnAxoZ4HWOBpF9P+NUUTjh7WkgFfXSw7RxexGmC3Z2o9eNPoSK4B3k6 KOVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=t3UDmSYt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cw12si941885ejc.992.2022.01.25.00.31.21; Tue, 25 Jan 2022 00:31:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=t3UDmSYt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S3423567AbiAYCfa (ORCPT + 99 others); Mon, 24 Jan 2022 21:35:30 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:54132 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1384386AbiAXU3j (ORCPT ); Mon, 24 Jan 2022 15:29:39 -0500 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 dfw.source.kernel.org (Postfix) with ESMTPS id 4E44A61232; Mon, 24 Jan 2022 20:29:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2D3EFC340E5; Mon, 24 Jan 2022 20:29:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643056176; bh=0mn07Z63UB9WDnRDyK8KAWId9NRvMSa9a8fRkkhTd6s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=t3UDmSYtqadU2L7KrtD3/PU0GvrVe+z6fMS2Kt0djxe+3tVhI0L3V53YcpLEp/vRR l13zTIFtsmI9cNzUF/FxNsf0U7OruD6j622a1zjyEUVuxgmE6+rY58yLkXXvjkigpu jBx+0ZuDh3BQmNzhICiZIvId1NpWCYBGOXZOVUgs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Takashi Iwai , Sasha Levin Subject: [PATCH 5.15 395/846] ALSA: usb-audio: Drop superfluous 0 in Presonus Studio 1810cs ID Date: Mon, 24 Jan 2022 19:38:32 +0100 Message-Id: <20220124184114.587235156@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184100.867127425@linuxfoundation.org> References: <20220124184100.867127425@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Takashi Iwai [ Upstream commit 1e583aef12aa74afd37c1418255cc4b74e023236 ] The vendor ID of Presonus Studio 1810c had a superfluous '0' in its USB ID. Drop it. Fixes: 8dc5efe3d17c ("ALSA: usb-audio: Add support for Presonus Studio 1810c") Link: https://lore.kernel.org/r/20211202083833.17784-1-tiwai@suse.de Signed-off-by: Takashi Iwai Signed-off-by: Sasha Levin --- sound/usb/format.c | 2 +- sound/usb/mixer_quirks.c | 2 +- sound/usb/quirks.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/usb/format.c b/sound/usb/format.c index f5e676a51b30d..405dc0bf6678c 100644 --- a/sound/usb/format.c +++ b/sound/usb/format.c @@ -375,7 +375,7 @@ static int parse_uac2_sample_rate_range(struct snd_usb_audio *chip, for (rate = min; rate <= max; rate += res) { /* Filter out invalid rates on Presonus Studio 1810c */ - if (chip->usb_id == USB_ID(0x0194f, 0x010c) && + if (chip->usb_id == USB_ID(0x194f, 0x010c) && !s1810c_valid_sample_rate(fp, rate)) goto skip_rate; diff --git a/sound/usb/mixer_quirks.c b/sound/usb/mixer_quirks.c index 823b6b8de942d..d48729e6a3b0a 100644 --- a/sound/usb/mixer_quirks.c +++ b/sound/usb/mixer_quirks.c @@ -3254,7 +3254,7 @@ int snd_usb_mixer_apply_create_quirk(struct usb_mixer_interface *mixer) err = snd_rme_controls_create(mixer); break; - case USB_ID(0x0194f, 0x010c): /* Presonus Studio 1810c */ + case USB_ID(0x194f, 0x010c): /* Presonus Studio 1810c */ err = snd_sc1810_init_mixer(mixer); break; case USB_ID(0x2a39, 0x3fb0): /* RME Babyface Pro FS */ diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c index 64e1c20311ed4..ab9f3da49941f 100644 --- a/sound/usb/quirks.c +++ b/sound/usb/quirks.c @@ -1290,7 +1290,7 @@ int snd_usb_apply_interface_quirk(struct snd_usb_audio *chip, if (chip->usb_id == USB_ID(0x0763, 0x2012)) return fasttrackpro_skip_setting_quirk(chip, iface, altno); /* presonus studio 1810c: skip altsets incompatible with device_setup */ - if (chip->usb_id == USB_ID(0x0194f, 0x010c)) + if (chip->usb_id == USB_ID(0x194f, 0x010c)) return s1810c_skip_setting_quirk(chip, iface, altno); -- 2.34.1