Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp4355657ybl; Mon, 26 Aug 2019 09:12:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqyWsYHgNi6w5nrw0lMfscpCgvohbnKyh1jUkcy+yy3VvUfkKbpuJLrI+KXfgVwigr57lNiA X-Received: by 2002:a17:902:8f85:: with SMTP id z5mr4312386plo.328.1566835959105; Mon, 26 Aug 2019 09:12:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566835959; cv=none; d=google.com; s=arc-20160816; b=a0Zq1UcVE9LwFuPi7zd19qS3eCiseHsxqtA7gUjoRdLPNJ99ml+8rKcCgE9GRXyPcu favbSegmrLwVBnLdjicZZQ3usnV8iVfTE/D5TNtcF7oOBxkpdpq+hTBW7fmUIbieiDs9 jB9wGSqgIlCS1vcmVnY89fECJNJh/kL3EZgI20Jm6a5/TlOPoEpDAJ/AZ8m+Sd/fAzPu bEzW3eKrZciDKoJWiVJIWbeHq69pIZQ34Rr54W5wcXXX1wNrDsTOLjm9OF3HaYDF+5G/ vEPX91v80eVyS4Lyh0+ezA0WN2dSlVFUmLuDDmU7DwiGOGwjZUNkkXo6srMV0r5iSjBk C8Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=SlZtTdio1Y6VVz0EfywAkxBeMP9JChkSpHZKD+louec=; b=FK3Ifn7q+NlgHGv1UrHF6ohIPkgpzbiB3yjc4lanuUctgAGB63CcADn4qmpaKJkHw4 5sBfBqENE9L3NFnThR7d/FLCSS7fBwRUgWC2T94HBvOyzBz5egOFEdrj+fBM6YGmwere MLInUVBSgPJldibtqJJSu1yo2sb0CLNEOe16U6DR/WbiiqdG9wVukUqqdUyLmWlA6Q3H IZvI3cH247MYJh0RsepPX9UI+Vv825VLLrghgAHk3liXWQdff+SxI2ZxOMzk56vmC22q 09IhOdDpK6PFzFcO5vlkU4ikXd35TOSFfV3Q+NpXYd+j55KKMzrgB1477xhBnuAqFWPY oExQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netforce.ua header.s=google header.b=FNGfQGkz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=netforce.ua Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c127si9389542pga.569.2019.08.26.09.12.23; Mon, 26 Aug 2019 09:12:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@netforce.ua header.s=google header.b=FNGfQGkz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=netforce.ua Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732350AbfHZQKC (ORCPT + 99 others); Mon, 26 Aug 2019 12:10:02 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:35207 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728683AbfHZQKB (ORCPT ); Mon, 26 Aug 2019 12:10:01 -0400 Received: by mail-lj1-f195.google.com with SMTP id l14so15646979lje.2 for ; Mon, 26 Aug 2019 09:09:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netforce.ua; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SlZtTdio1Y6VVz0EfywAkxBeMP9JChkSpHZKD+louec=; b=FNGfQGkzzUQS1d1t0+p6lBcGEh/BEgDQpEU/6aO5W2NUJ6rKeUb9ErEUoQ6Eb2gjjb 2HMc/gN68B0VMh1ZT08BkF6lumorqI5v6RZZpVEDkSOj5jxTpxAUxGwyQMGHlm0/qYm5 4EPVTbWYaJCh+l4yvT3m6u1g0+OD2v2dges2M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SlZtTdio1Y6VVz0EfywAkxBeMP9JChkSpHZKD+louec=; b=QfKFNhxBimYeSKIbShBTu6hDTI4/tWqHanlB9oP21brrpo+oc4e3I8DZCzUYEgBjWg +0Nvs/rdVv7ydVzFH5PMA8Imv7z4/GJ9wsXC6cGnEoH2AuqzRxd/kI1pOliXXX6oSQJ0 3Z4OofGyFE2+GQXfSOgVKmLm6NumycZsJcqouSpKdIx6uUvNe3B/ycpLRLk928dujkb9 /nix/YE9EZ1F6N4CwnlW7OUGwyWk047k7JyV5Tpf2u1C10PAn/Q3ua04ceSiF4N3IhB1 AnF+FFEu3NctR5KBkhi0NhUupEh+i2PciE/gI31AbLkO4ZulYeXcJGo7uRwyHgUZvcif CNMQ== X-Gm-Message-State: APjAAAUQ1op1xELrFRbuXOGUfSJ8NNLUw4wSj7IBYDIc+BWpkwSgQrPg aB7ibW+bZHN2js4Yt2La2Mi2+w== X-Received: by 2002:a2e:8455:: with SMTP id u21mr10702408ljh.20.1566835799242; Mon, 26 Aug 2019 09:09:59 -0700 (PDT) Received: from rhea.localdomain ([37.46.255.109]) by smtp.gmail.com with ESMTPSA id s4sm1327826lfd.77.2019.08.26.09.09.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Aug 2019 09:09:58 -0700 (PDT) From: ilya.pshonkin@netforce.ua To: ilya.pshonkin@netforce.ua Cc: Sudokamikaze , Jaroslav Kysela , Takashi Iwai , Jussi Laako , Allison Randal , Greg Kroah-Hartman , Richard Fontana , Manuel Reinhardt , Thomas Gleixner , Linus Walleij , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH] ALSA: usb-audio: Add Hiby R3 to quirks for native DSD support Date: Mon, 26 Aug 2019 19:09:52 +0300 Message-Id: <20190826160953.19402-1-ilya.pshonkin@netforce.ua> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sudokamikaze This patch adds quirk VID/PID IDs for Hiby R3 portable DSD player DSD support Signed-off-by: Sudokamikaze --- sound/usb/quirks.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c index 78858918cbc1..f90418149e4e 100644 --- a/sound/usb/quirks.c +++ b/sound/usb/quirks.c @@ -1588,6 +1588,12 @@ u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip, if (fp->altsetting == 2) return SNDRV_PCM_FMTBIT_DSD_U32_BE; break; + + /* ESS Sabre based USB DACs */ + case USB_ID(0xc502, 0x0051): /* Hiby R3 */ + if (fp->altsetting == 4) + return SNDRV_PCM_FMTBIT_DSD_U32_BE; + break; case USB_ID(0x0d8c, 0x0316): /* Hegel HD12 DSD */ case USB_ID(0x10cb, 0x0103): /* The Bit Opus #3; with fp->dsd_raw */ -- 2.23.0