From patchwork Tue Feb 5 16:08:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Udo Eberhardt X-Patchwork-Id: 10797657 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 51FF113B4 for ; Tue, 5 Feb 2019 16:16:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3C4682BA78 for ; Tue, 5 Feb 2019 16:16:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 30BCB2C660; Tue, 5 Feb 2019 16:16:22 +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.9 required=2.0 tests=BAYES_00,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 31D702BA78 for ; Tue, 5 Feb 2019 16:16:21 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 2E2152678F6; Tue, 5 Feb 2019 17:08:57 +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 D63A6267909; Tue, 5 Feb 2019 17:08:54 +0100 (CET) Received: from routemea2.hes.trendmicro.eu (routemea2.hes.trendmicro.eu [52.58.63.14]) by alsa0.perex.cz (Postfix) with ESMTP id 49A562666B3 for ; Tue, 5 Feb 2019 17:08:53 +0100 (CET) Received: from 0.0.0.0_hes.trendmicro.com (unknown [192.168.14.59]) by routemea2.hes.trendmicro.eu (Postfix) with SMTP id DDD2E45606C for ; Tue, 5 Feb 2019 16:08:51 +0000 (UTC) Received: from mail.lan.thesycon.de (unknown [80.88.23.201]) by relayemea3.hes.trendmicro.eu (TrendMicro Hosted Email Security) with ESMTP id 3A5C458C046 for ; Tue, 5 Feb 2019 16:08:51 +0000 (UTC) Received: from [192.168.1.106] (ue1.lan.thesycon.de [192.168.1.106]) by mail.lan.thesycon.de (Postfix) with ESMTP id E1C9FE9C1C4 for ; Tue, 5 Feb 2019 17:08:50 +0100 (CET) From: Udo Eberhardt To: alsa-devel@alsa-project.org Message-ID: Date: Tue, 5 Feb 2019 17:08:51 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 Content-Language: en-US X-TMASE-Version: StarCloud-1.3-8.2.1013-24412.000 X-TMASE-Result: 10--5.440400-7.000000 X-TMASE-MatchedRID: 3bCkloIJ9UE/mJEvNFL+dXV7tdtvoibayeUl7aCTy8jIXpx0LHuyydus WiOwQ3/yhUHepIxgktiggaY6vy6w0BjWaWrUflneW7gz/Gbgpl6P/EshoNKyEfk3SjZMcZFk3MO EcRunIolkDEEI92EAW7QjxL/tXRK/IaVPgU+koVETDJnK4xDjXSHmjNSy4BIivqq8s2MNhPAir3 kOMJmHTD2vabzCHAmpEQr6RrNrGjJREF8sTZqvXCq2rl3dzGQ1DBbGvtcMofyXhkuzkjNsYV5Eb A6Gi29Y9fTsp3tjdFQWrO033JSicJWxFt6i6PKp X-TM-Deliver-Signature: E86FF822126E7183774F382363475694 Subject: [alsa-devel] quirks patch for new T+A USB DAC 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 Hi all, This is a patch for sound/usb/quirks.c which enables DSD support for a new T+A DAC for which we have developed the USB firmware. Here is a patch description: This patch adds the T+A VID to the generic check in order to enable native DSD support for T+A devices. This works with the new T+A USB DAC model SD3100HV and will also work with future devices which support the XMOS/Thesycon style DSD format. I hope you can apply this patch. Let me know if you need more info. Thank you, Udo Signed-off-by: Udo Eberhardt diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c index ef67d19117c4..f372c624bbf4 100644 --- a/sound/usb/quirks.c +++ b/sound/usb/quirks.c @@ -1553,6 +1553,7 @@ u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip, case 0x20b1: /* XMOS based devices */ case 0x152a: /* Thesycon devices */ case 0x25ce: /* Mytek devices */ + case 0x2ab6: /* T+A devices */ if (fp->dsd_raw) return SNDRV_PCM_FMTBIT_DSD_U32_BE; break;