* [PATCH] caiaq endianness fix
@ 2008-05-21 1:11 Al Viro
0 siblings, 0 replies; only message in thread
From: Al Viro @ 2008-05-21 1:11 UTC (permalink / raw)
To: torvalds; +Cc: perex, linux-kernel
Content-Length: 800
Lines: 23
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
sound/usb/caiaq/caiaq-device.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/usb/caiaq/caiaq-device.c b/sound/usb/caiaq/caiaq-device.c
index e97d8b2..a972f77 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);
--
1.5.3.GIT
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-05-21 1:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-21 1:11 [PATCH] caiaq endianness fix Al Viro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox