aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/usbaudio.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2021-07-29 09:44:02 +0200
committerTakashi Iwai <tiwai@suse.de>2021-08-02 09:06:07 +0200
commit68e851ee4cfd2a3c96f10d984192c2c8abe9a104 (patch)
tree0b154c409661c11299c37281ab7cf8277a9f2982 /sound/usb/usbaudio.h
parentALSA: usb-audio: Move ignore_ctl_error check into quirk_flags (diff)
downloadlinux-dev-68e851ee4cfd2a3c96f10d984192c2c8abe9a104.tar.xz
linux-dev-68e851ee4cfd2a3c96f10d984192c2c8abe9a104.zip
ALSA: usb-audio: Move generic DSD raw detection into quirk_flags
The generic DSD raw detection is based on the known allow list, and we can integrate it into quirk_flags, too. Link: https://lore.kernel.org/r/20210729074404.19728-4-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/usbaudio.h')
-rw-r--r--sound/usb/usbaudio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/usb/usbaudio.h b/sound/usb/usbaudio.h
index a152f5b08c7a..4e93668a2a48 100644
--- a/sound/usb/usbaudio.h
+++ b/sound/usb/usbaudio.h
@@ -159,6 +159,8 @@ extern bool snd_usb_skip_validation;
* Disable runtime PM autosuspend
* QUIRK_FLAG_IGNORE_CTL_ERROR:
* Ignore errors for mixer access
+ * QUIRK_FLAG_DSD_RAW:
+ * Support generic DSD raw U32_BE format
*/
#define QUIRK_FLAG_GET_SAMPLE_RATE (1U << 0)
@@ -176,5 +178,6 @@ extern bool snd_usb_skip_validation;
#define QUIRK_FLAG_VALIDATE_RATES (1U << 12)
#define QUIRK_FLAG_DISABLE_AUTOSUSPEND (1U << 13)
#define QUIRK_FLAG_IGNORE_CTL_ERROR (1U << 14)
+#define QUIRK_FLAG_DSD_RAW (1U << 15)
#endif /* __USBAUDIO_H */