summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2008-05-21 07:32:11 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-05-22 01:56:00 +0200
commit8c5330a505ca58013a65ce9c55953ff7ded79202 (patch)
tree6d41bc5b8f36101d63ee233db747e115980d6118 /sound
parentMODULE_LICENSE expects "GPL v2", not "GPLv2" (diff)
downloadlinux-8c5330a505ca58013a65ce9c55953ff7ded79202.tar.xz
linux-8c5330a505ca58013a65ce9c55953ff7ded79202.zip
caiaq endianness fix
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/usb/caiaq/caiaq-device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/usb/caiaq/caiaq-device.c b/sound/usb/caiaq/caiaq-device.c
index e97d8b2ac16a..a972f77bd785 100644
--- a/sound/usb/caiaq/caiaq-device.c
+++ b/sound/usb/caiaq/caiaq-device.c
@@ -351,8 +351,8 @@ static struct snd_card* create_card(struct usb_device* usb_dev)
dev = caiaqdev(card);
dev->chip.dev = usb_dev;
dev->chip.card = card;
- dev->chip.usb_id = USB_ID(usb_dev->descriptor.idVendor,
- usb_dev->descriptor.idProduct);
+ dev->chip.usb_id = USB_ID(le16_to_cpu(usb_dev->descriptor.idVendor),
+ le16_to_cpu(usb_dev->descriptor.idProduct));
spin_lock_init(&dev->spinlock);
snd_card_set_dev(card, &usb_dev->dev);