diff options
author | Daniel Mack <daniel@caiaq.de> | 2010-03-11 15:13:20 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-03-12 06:19:49 -0500 |
commit | 7e847894039d7590321de306fca2b1ae58662f29 (patch) | |
tree | 09ff9fc43280cf3263a0501fec6b6feee50e8939 /sound/usb/card.c | |
parent | 36e632d61ae2febf55d5cd93b9e5ae0f5a5c6207 (diff) |
linux/usb/audio.h: split header
- Split the audio.h file in two to clearly denote the differences
between the standards.
- Add many more defines to audio-v2.h. Most of them are not currently
used.
- Replaced a magic value with a proper define
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/card.c')
-rw-r--r-- | sound/usb/card.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/usb/card.c b/sound/usb/card.c index 426aabc729d9..78d12ff00e8a 100644 --- a/sound/usb/card.c +++ b/sound/usb/card.c | |||
@@ -45,6 +45,7 @@ | |||
45 | #include <linux/moduleparam.h> | 45 | #include <linux/moduleparam.h> |
46 | #include <linux/mutex.h> | 46 | #include <linux/mutex.h> |
47 | #include <linux/usb/audio.h> | 47 | #include <linux/usb/audio.h> |
48 | #include <linux/usb/audio-v2.h> | ||
48 | 49 | ||
49 | #include <sound/core.h> | 50 | #include <sound/core.h> |
50 | #include <sound/info.h> | 51 | #include <sound/info.h> |
@@ -250,7 +251,7 @@ static int snd_usb_create_streams(struct snd_usb_audio *chip, int ctrlif) | |||
250 | * clock selectors and sample rate conversion units. */ | 251 | * clock selectors and sample rate conversion units. */ |
251 | 252 | ||
252 | cs = snd_usb_find_csint_desc(host_iface->extra, host_iface->extralen, | 253 | cs = snd_usb_find_csint_desc(host_iface->extra, host_iface->extralen, |
253 | NULL, UAC_CLOCK_SOURCE); | 254 | NULL, UAC2_CLOCK_SOURCE); |
254 | 255 | ||
255 | if (!cs) { | 256 | if (!cs) { |
256 | snd_printk(KERN_ERR "CLOCK_SOURCE descriptor not found\n"); | 257 | snd_printk(KERN_ERR "CLOCK_SOURCE descriptor not found\n"); |