aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/usbaudio.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2021-07-29 09:38:53 +0200
committerTakashi Iwai <tiwai@suse.de>2021-08-02 09:06:00 +0200
commit2de00d5a914ee2cb81ef775dffd0ca955f5644b8 (patch)
tree993f34d857d22e2840d878f53f717dfbc68eaaf3 /sound/usb/usbaudio.h
parentALSA: usb-audio: Move clock setup quirk into quirk_flags (diff)
downloadlinux-dev-2de00d5a914ee2cb81ef775dffd0ca955f5644b8.tar.xz
linux-dev-2de00d5a914ee2cb81ef775dffd0ca955f5644b8.zip
ALSA: usb-audio: Move ITF-USB DSD quirk handling into quirk_flags
The devices with ITF-USB DSD type are listed in another function, and this can be integrated into the quirk_flags easily. Link: https://lore.kernel.org/r/20210729073855.19043-8-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/usbaudio.h')
-rw-r--r--sound/usb/usbaudio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/usb/usbaudio.h b/sound/usb/usbaudio.h
index 82073ebeac5b..7b41a95eadee 100644
--- a/sound/usb/usbaudio.h
+++ b/sound/usb/usbaudio.h
@@ -144,6 +144,9 @@ extern bool snd_usb_skip_validation;
* Skip clock selector setup; the device may reset to invalid state
* QUIRK_FLAG_IGNORE_CLOCK_SOURCE:
* Ignore errors from clock source search; i.e. hardcoded clock
+ * QUIRK_FLAG_ITF_USB_DSD_DAC:
+ * Indicates the device is for ITF-USB DSD based DACs that need a vendor cmd
+ * to switch between PCM and native DSD mode
*/
#define QUIRK_FLAG_GET_SAMPLE_RATE (1U << 0)
@@ -153,5 +156,6 @@ extern bool snd_usb_skip_validation;
#define QUIRK_FLAG_PLAYBACK_FIRST (1U << 4)
#define QUIRK_FLAG_SKIP_CLOCK_SELECTOR (1U << 5)
#define QUIRK_FLAG_IGNORE_CLOCK_SOURCE (1U << 6)
+#define QUIRK_FLAG_ITF_USB_DSD_DAC (1U << 7)
#endif /* __USBAUDIO_H */