mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
caiaq endianness fix
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
839cd31050
commit
8c5330a505
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue