From patchwork Wed Nov 28 20:16:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Das X-Patchwork-Id: 10704083 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 54DD313A4 for ; Thu, 29 Nov 2018 07:01:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 464AD2EA50 for ; Thu, 29 Nov 2018 07:01:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3A9D82EA52; Thu, 29 Nov 2018 07:01:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D575D2EA50 for ; Thu, 29 Nov 2018 07:01:13 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 0E55D267B44; Thu, 29 Nov 2018 08:01:02 +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 94629267B0C; Wed, 28 Nov 2018 21:16:52 +0100 (CET) Received: from mail-oi1-f194.google.com (mail-oi1-f194.google.com [209.85.167.194]) by alsa0.perex.cz (Postfix) with ESMTP id B78862679A7 for ; Wed, 28 Nov 2018 21:16:50 +0100 (CET) Received: by mail-oi1-f194.google.com with SMTP id w13so23719027oiw.9 for ; Wed, 28 Nov 2018 12:16:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=WsWvBXYvV+oPI8eNnY56pWzrKiua/ryKxDsh4j5hXv8=; b=qvd7U9GD4HFw7DhswNmDCckBAp6fXXuyHvYaXRefOzd2uwsKEIzBhIDN8q9JD95FR7 pyf5ma9HVg4HGCp8k34kya0oTbxZ6YD8cmUpk8ZgKLVks8p8weetnaBO5QqbTEMZd40n rV6cLKyob+i7zh8wuqNK41weFGqCDgfcT0aOha5/LwbUmS9SbVWI6MxF0ZYIX+D8jHU1 8ElF0DXAGHmDvLCJM+docLkIP+GK0lEPwSjhI90dGuvSMJCEm1Ilqo4ROKBhpZeN8CHz fsX4uwHfWONnJq2oPSVLyzoZGipJSYI/6MwiDQMB9WyuPgrN20sC2fBfnmfwbvG3gBGS A9RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=WsWvBXYvV+oPI8eNnY56pWzrKiua/ryKxDsh4j5hXv8=; b=aFJpe/zQpGQyx0vIMT5/hTxmf4a6by/7Gom6zzINHSCvnIVwFM97K+szORoZmGhSli 1E4XNb1cKpXDTl1s0C1gmZEMvhGAhCZqMkmYHwTJFKRTBCOdHSM2RzdPkAL6qd5sH8EX HeVPF3Fb8PF40ON+5vJbeFzbEDEAQJbefuqQhqF13dhanWR+WnQnse1uZqOCYRxB8oCX lSesgKX3KjiI7d0G7JyvAqVu1C5iwtnGXoyWwfUMyC72vvKNjSlxJ/QMY/VIl546djEa jNA0315EOm6erNnyBcSgZwgy5BSSJINLORCFvFt9Rl/WJrKcwYAXEmhKZu6JxIq5vXPw DFiw== X-Gm-Message-State: AA+aEWaSD5HGlEBvWPbme7ZVzug99DhrvBiG9fp+CNXXvUs0xHUZSprI ajdlZWQ1zDaJpCJFoZtMJ590zeCf4khKuDGWAC+H0HHx X-Google-Smtp-Source: AFSGD/VWp+sGlXJ9H6wkVuRkk1gCS+ErEUAy25/CNAxTU0JeYDjuO7kYZRKslFcpANaMQGKYFtFNIrJQ9hdcim9Wvh8= X-Received: by 2002:aca:88a:: with SMTP id 132mr21373952oii.224.1543436208866; Wed, 28 Nov 2018 12:16:48 -0800 (PST) MIME-Version: 1.0 From: Tony Das Date: Wed, 28 Nov 2018 20:16:37 +0000 Message-ID: To: alsa-devel@alsa-project.org X-Mailman-Approved-At: Thu, 29 Nov 2018 08:00:55 +0100 Subject: [alsa-devel] [PATCH] ALSA: usb-audio: Add SMSL D1 to quirks for native DSD support 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds quirk VID/PID IDs for the SMSL D1 in order to enable Native DSD support. Signed-off-by: Tony Das --- Author: Tony Das Date: Tue Nov 27 22:13:30 2018 +0000 break; diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c index 3d0f09108c98..aeac6bb7e111 100644 --- a/sound/usb/quirks.c +++ b/sound/usb/quirks.c @@ -1515,6 +1515,7 @@ u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip, case USB_ID(0x27f7, 0x3002): /* W4S DAC-2v2SE */ case USB_ID(0x29a2, 0x0086): /* Mutec MC3+ USB */ case USB_ID(0x6b42, 0x0042): /* MSB Technology */ + case USB_ID(0x152a, 0x85de): /* SMSL D1 DAC */ if (fp->altsetting == 3) return SNDRV_PCM_FMTBIT_DSD_U32_BE;