summaryrefslogtreecommitdiffstats
path: root/sound/usb/card.c
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2010-06-16 17:57:28 +0200
committerTakashi Iwai <tiwai@suse.de>2010-06-23 16:09:26 +0200
commit69da9bcb98ccbfb5d5f751bc13418f1307332925 (patch)
tree4ba6ac91c576c0dcfabd31e78e8538e21c471cfe /sound/usb/card.c
parentf22aa94908352f40fce65b9a9180370fb09ecbe9 (diff)
downloadblackbird-op-linux-69da9bcb98ccbfb5d5f751bc13418f1307332925.tar.gz
blackbird-op-linux-69da9bcb98ccbfb5d5f751bc13418f1307332925.zip
ALSA: usb-audio: unify UAC macros and struct names
Get rid of the last occurances of _v1 suffixes, and move the version number right after the "uac" string. Now things are consitent again. Sorry for the forth and back, but it just looks much nicer this way. Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/card.c')
-rw-r--r--sound/usb/card.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/card.c b/sound/usb/card.c
index 7a8ac1d81be7..9feb00c831a0 100644
--- a/sound/usb/card.c
+++ b/sound/usb/card.c
@@ -217,7 +217,7 @@ static int snd_usb_create_streams(struct snd_usb_audio *chip, int ctrlif)
switch (protocol) {
case UAC_VERSION_1: {
- struct uac_ac_header_descriptor_v1 *h1 = control_header;
+ struct uac1_ac_header_descriptor *h1 = control_header;
if (!h1->bInCollection) {
snd_printk(KERN_INFO "skipping empty audio interface (v1)\n");
OpenPOWER on IntegriCloud