From patchwork Sun Mar 9 18:12:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cyrus Harmon X-Patchwork-Id: 3801471 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 842DA9F369 for ; Mon, 10 Mar 2014 07:59:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id ADD3E20384 for ; Mon, 10 Mar 2014 07:59:46 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id B4AC620381 for ; Mon, 10 Mar 2014 07:59:45 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 679C826565A; Mon, 10 Mar 2014 08:59:44 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 65E07265062; Mon, 10 Mar 2014 08:59:13 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 3327D2655C3; Sun, 9 Mar 2014 19:13:31 +0100 (CET) Received: from mail.cyrusharmon.org (unknown [206.125.171.163]) by alsa0.perex.cz (Postfix) with ESMTP id 24B5E2655B8 for ; Sun, 9 Mar 2014 19:13:24 +0100 (CET) Received: from mail.cyrusharmon.org (localhost [127.0.0.1]) by mail.cyrusharmon.org (Postfix) with ESMTP id 1C16D2E05A; Sun, 9 Mar 2014 11:26:18 -0700 (PDT) Received: from localhost.localdomain (unknown [107.201.5.56]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mail.cyrusharmon.org (Postfix) with ESMTP id A47972E059; Sun, 9 Mar 2014 11:26:17 -0700 (PDT) From: Cyrus Harmon To: alsa-devel@alsa-project.org Date: Sun, 9 Mar 2014 11:12:47 -0700 Message-Id: <1394388767-23658-1-git-send-email-cyrus@bobobeach.com> X-Mailer: git-send-email 1.8.3.2 X-Virus-Scanned: ClamAV using ClamSMTP X-Mailman-Approved-At: Mon, 10 Mar 2014 08:59:10 +0100 Cc: tiwai@suse.de, Cyrus Harmon Subject: [alsa-devel] [PATCH] add Steinberg UR44 USB Audio Interface support to quirks-table X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 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: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Cyrus Harmon Acked-by: Clemens Ladisch --- sound/usb/quirks-table.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h index f652b10..987ca01 100644 --- a/sound/usb/quirks-table.h +++ b/sound/usb/quirks-table.h @@ -436,6 +436,36 @@ YAMAHA_DEVICE(0x105d, NULL), } } }, +{ + USB_DEVICE(0x0499, 0x150e), + .driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) { + /* .vendor_name = "Yamaha", */ + /* .product_name = "Steinberg UR44", */ + .ifnum = QUIRK_ANY_INTERFACE, + .type = QUIRK_COMPOSITE, + .data = (const struct snd_usb_audio_quirk[]) { + { + .ifnum = 1, + .type = QUIRK_AUDIO_STANDARD_INTERFACE + }, + { + .ifnum = 2, + .type = QUIRK_AUDIO_STANDARD_INTERFACE + }, + { + .ifnum = 3, + .type = QUIRK_MIDI_YAMAHA + }, + { + .ifnum = 4, + .type = QUIRK_IGNORE_INTERFACE + }, + { + .ifnum = -1 + } + } + } +}, YAMAHA_DEVICE(0x2000, "DGP-7"), YAMAHA_DEVICE(0x2001, "DGP-5"), YAMAHA_DEVICE(0x2002, NULL),