summaryrefslogtreecommitdiff
path: root/sound/usb/quirks.h
diff options
context:
space:
mode:
authorRuslan Bilovol <ruslan.bilovol@gmail.com>2018-03-19 04:46:02 +0300
committerTakashi Iwai <tiwai@suse.de>2018-03-19 19:00:12 +0300
commitceb18f511beeb8b750f027f170eb6d901a082e9a (patch)
treed6b05240823e2c2d03fcf25973c9993cf5559925 /sound/usb/quirks.h
parent4654eba8cbb3fcf48c6fc24fbaffa0623d9faea2 (diff)
downloadlinux-ceb18f511beeb8b750f027f170eb6d901a082e9a.tar.xz
ALSA: usb-audio: move audioformat quirks to quirks.c
Offload USB audio interface parsing function by moving quirks to a specially designed location (quirks.c) Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/quirks.h')
-rw-r--r--sound/usb/quirks.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/usb/quirks.h b/sound/usb/quirks.h
index b90c8b7caab5..a80e0ddd0736 100644
--- a/sound/usb/quirks.h
+++ b/sound/usb/quirks.h
@@ -42,4 +42,8 @@ u64 snd_usb_interface_dsd_format_quirks(struct snd_usb_audio *chip,
struct audioformat *fp,
unsigned int sample_bytes);
+void snd_usb_audioformat_attributes_quirk(struct snd_usb_audio *chip,
+ struct audioformat *fp,
+ int stream);
+
#endif /* __USBAUDIO_QUIRKS_H */