From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4FAB82210F8; Thu, 12 Dec 2024 17:14:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734023686; cv=none; b=Qq5Uj2puABnVsNLCPUGSfj/nD8rAOJLskFg43vdlpu4n5lrZIn0A/kraFio9B769FPAI83YV0E00nIIl8S4U4Qz387kSjyubMN111VAke9OouHbhjJJdreTVlBirjZcj7blWEFd6j9iX7UZVGQj3Vn0T1mJNlSVNla3wODgkdPg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734023686; c=relaxed/simple; bh=HbJDiFsUvcz5OyQ5me0+h60YZA6H8DdiRWvIphtVz4o=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=GSf1y/+JUg4ccXeBqwXoMe+DnANUu/0NlYXPQWJ3YE24TnxW+nYFAgwHuMif11sIaxOh1/dxkdXiy4FwwuqPsO39wBtpCfywmUvSNUI+dQw7q+hNk2uIztp9ppHPlYMqPUI5UtnoGfK6jztcM74UoR0O2FYEw11n45IlDJj1u9A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gt6Lziwr; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="gt6Lziwr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C91B9C4CECE; Thu, 12 Dec 2024 17:14:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1734023686; bh=HbJDiFsUvcz5OyQ5me0+h60YZA6H8DdiRWvIphtVz4o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gt6Lziwr9kBQRtnLhANQbIFD/a97CGU9riY7iyjWsWkAzBfK6+msfOhLNLI2Lstf+ Wd4tocdhuORESDcFbxrGsH2ZMB3EzGJOYV0+TFc0bFBwBGxpfYW/3S6u5RMegeGraO hMVvzxTP+BEkVYuHU08+YxssKwnCjYpz6MPeHosI= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Eryk Zagorski , Takashi Iwai , Sasha Levin Subject: [PATCH 5.10 048/459] ALSA: usb-audio: Fix Yamaha P-125 Quirk Entry Date: Thu, 12 Dec 2024 15:56:26 +0100 Message-ID: <20241212144255.421927766@linuxfoundation.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241212144253.511169641@linuxfoundation.org> References: <20241212144253.511169641@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Eryk Zagorski [ Upstream commit 6f891ca15b017707840c9e7f5afd9fc6cfd7d8b1 ] This patch switches the P-125 quirk entry to use a composite quirk as the P-125 supplies both MIDI and Audio like many of the other Yamaha keyboards Signed-off-by: Eryk Zagorski Link: https://patch.msgid.link/20241111164520.9079-2-erykzagorski@gmail.com Signed-off-by: Takashi Iwai Signed-off-by: Sasha Levin --- sound/usb/quirks-table.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h index c6104523dd79c..119c0bde74464 100644 --- a/sound/usb/quirks-table.h +++ b/sound/usb/quirks-table.h @@ -350,7 +350,6 @@ YAMAHA_DEVICE(0x105a, NULL), YAMAHA_DEVICE(0x105b, NULL), YAMAHA_DEVICE(0x105c, NULL), YAMAHA_DEVICE(0x105d, NULL), -YAMAHA_DEVICE(0x1718, "P-125"), { USB_DEVICE(0x0499, 0x1503), .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { @@ -485,6 +484,19 @@ YAMAHA_DEVICE(0x1718, "P-125"), } } }, +{ + USB_DEVICE(0x0499, 0x1718), + QUIRK_DRIVER_INFO { + /* .vendor_name = "Yamaha", */ + /* .product_name = "P-125", */ + QUIRK_DATA_COMPOSITE { + { QUIRK_DATA_STANDARD_AUDIO(1) }, + { QUIRK_DATA_STANDARD_AUDIO(2) }, + { QUIRK_DATA_MIDI_YAMAHA(3) }, + QUIRK_COMPOSITE_END + } + } +}, YAMAHA_DEVICE(0x2000, "DGP-7"), YAMAHA_DEVICE(0x2001, "DGP-5"), YAMAHA_DEVICE(0x2002, NULL), -- 2.43.0