projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
839cd31
)
caiaq endianness fix
author
Al Viro
<viro@ftp.linux.org.uk>
Wed, 21 May 2008 05:32:11 +0000
(06:32 +0100)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 21 May 2008 23:56:00 +0000
(16:56 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
sound/usb/caiaq/caiaq-device.c
patch
|
blob
|
history
diff --git
a/sound/usb/caiaq/caiaq-device.c
b/sound/usb/caiaq/caiaq-device.c
index
e97d8b2
..
a972f77
100644
(file)
--- 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);