Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2960758pxj; Mon, 17 May 2021 14:11:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDVrBUAwNPQNdbVsO8f2vhxf+9bzv1GKqEoGB6aCieWHVLY1BdaZJm6mgxo5GamYWMAbrc X-Received: by 2002:aa7:de9a:: with SMTP id j26mr2386733edv.269.1621285884268; Mon, 17 May 2021 14:11:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621285884; cv=none; d=google.com; s=arc-20160816; b=VkvVZpVSSeb1LWslWewpzifv3JgIhutGSVKbnVeJjlpW5j9Ib8BdW67gyl1qsACAHS EIguRtBuIqA0VjP3aB8XaJrC3aKJV8mHytoiDEiIfRc2Hkl9FvJzD+VCoXgMVl7oKdtR W68N/5aVVuzAj0Urw/XfhjmaiBXiCrBkqYiFNfmaBu3Cd9G9n8aaLVdsVOtT2Iv6okRr T+TmH2URhNJlY09MquOZrRF6w4ojL01k4QMUMfhl6i+2u0/kAuwHbSc0gAwP7HFB9L3H +cAlVE406b5WZ52W9oYsPS4m28CuBtVUddJqQLE93lHfBfzp5tI2XBqfDU+QOtBECKfd zE/g== 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=ZUt1whXXp98SHl2SkTZfSsppIZ9es1NmXMbuBcuglAI=; b=Qd2rXThLAVYc3p5l3qW24RAPwJ8aFEMG6xZRD5AeWexq2koafL+591BPZ8OtGweJyb lCTP7YfekgIV55iNcNsrTJ8AG4foLyNFGGvMNqu4Y1ol7gObbD3QMSdrUYolu3ZRMuSS MW9OptWXv/zDdF0i8KzOEbJPiXOs1olAtP+GX9IpxegzHNiES9IoflUKx33++cQ8aLq9 vvXPVgwbfKQgEAu6Y96Ar4Q8J0X08a+/oY6R8S7wRu9R/F30bLB0vz23hYNuud/j4H2c j1RfQx27tagLQdJOamQr1TtDYjDQU2FKCsjVQIy40zRMaUIVHMBI1t1ZgO+6rLbJ+UH9 GE6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=arP+vxsb; 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 ly3si14841863ejb.337.2021.05.17.14.11.00; Mon, 17 May 2021 14:11:24 -0700 (PDT) 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=arP+vxsb; 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 S237914AbhEQOGg (ORCPT + 99 others); Mon, 17 May 2021 10:06:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:57256 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237848AbhEQOGD (ORCPT ); Mon, 17 May 2021 10:06:03 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id DC66F611ED; Mon, 17 May 2021 14:04:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621260286; bh=RMq8/fB2qZBnIDS5YABZMEifsfx7xVn38ieGIz3nlbo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=arP+vxsb8Q6wjtqGA5hN+lxLFKJ0KirF8tN1YrwBIl4BREFqIGtNikH3k5EUw0dWO 95RvwEBHo71FsaAL/d9UDLaWH7HPFsUjWm0Q9GGy0vSQipKLhS8QOPzi8gLDs+PVMl E8EjK7jPW3agXOGY7h23r27dSmD1ZejSGRgXJH/0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Nicolas MURE , Takashi Iwai , Sasha Levin Subject: [PATCH 5.12 013/363] ALSA: usb-audio: Add Pioneer DJM-850 to quirks-table Date: Mon, 17 May 2021 15:57:59 +0200 Message-Id: <20210517140303.015482851@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210517140302.508966430@linuxfoundation.org> References: <20210517140302.508966430@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: Nicolas MURE [ Upstream commit a3c30b0cb6d05f5bf66d1a5d42e876f31753a447 ] Declare the Pioneer DJM-850 interfaces for capture and playback. See https://github.com/nm2107/Pioneer-DJM-850-driver-reverse-engineering/blob/172fb9a61055960c88c67b7c416fe5bf3609807b/doc/usb-device-specifications.md for the complete device spec. Signed-off-by: Nicolas MURE Link: https://lore.kernel.org/r/20210301152729.18094-2-nicolas.mure2019@gmail.com Signed-off-by: Takashi Iwai Signed-off-by: Sasha Levin --- sound/usb/quirks-table.h | 63 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h index 48facd262658..8a8fe2b980a1 100644 --- a/sound/usb/quirks-table.h +++ b/sound/usb/quirks-table.h @@ -3827,6 +3827,69 @@ AU0828_DEVICE(0x2040, 0x7270, "Hauppauge", "HVR-950Q"), } } }, +{ + /* + * Pioneer DJ DJM-850 + * 8 channels playback and 8 channels capture @ 44.1/48/96kHz S24LE + * Playback on EP 0x05 + * Capture on EP 0x86 + */ + USB_DEVICE_VENDOR_SPEC(0x08e4, 0x0163), + .driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) { + .ifnum = QUIRK_ANY_INTERFACE, + .type = QUIRK_COMPOSITE, + .data = (const struct snd_usb_audio_quirk[]) { + { + .ifnum = 0, + .type = QUIRK_AUDIO_FIXED_ENDPOINT, + .data = &(const struct audioformat) { + .formats = SNDRV_PCM_FMTBIT_S24_3LE, + .channels = 8, + .iface = 0, + .altsetting = 1, + .altset_idx = 1, + .endpoint = 0x05, + .ep_attr = USB_ENDPOINT_XFER_ISOC| + USB_ENDPOINT_SYNC_ASYNC| + USB_ENDPOINT_USAGE_DATA, + .rates = SNDRV_PCM_RATE_44100| + SNDRV_PCM_RATE_48000| + SNDRV_PCM_RATE_96000, + .rate_min = 44100, + .rate_max = 96000, + .nr_rates = 3, + .rate_table = (unsigned int[]) { 44100, 48000, 96000 } + } + }, + { + .ifnum = 0, + .type = QUIRK_AUDIO_FIXED_ENDPOINT, + .data = &(const struct audioformat) { + .formats = SNDRV_PCM_FMTBIT_S24_3LE, + .channels = 8, + .iface = 0, + .altsetting = 1, + .altset_idx = 1, + .endpoint = 0x86, + .ep_idx = 1, + .ep_attr = USB_ENDPOINT_XFER_ISOC| + USB_ENDPOINT_SYNC_ASYNC| + USB_ENDPOINT_USAGE_DATA, + .rates = SNDRV_PCM_RATE_44100| + SNDRV_PCM_RATE_48000| + SNDRV_PCM_RATE_96000, + .rate_min = 44100, + .rate_max = 96000, + .nr_rates = 3, + .rate_table = (unsigned int[]) { 44100, 48000, 96000 } + } + }, + { + .ifnum = -1 + } + } + } +}, { /* * Pioneer DJ DJM-450 -- 2.30.2