ALSA: usb-audio: fix Amanero Combo384 quirk on big-endian hosts
authorJohan Hovold <johan@kernel.org>
Fri, 12 May 2017 12:34:37 +0000 (14:34 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 15 May 2017 09:01:37 +0000 (11:01 +0200)
commitf83914fdfcc3ecb62a5a83eeb609ff59a9c2052d
tree96c44cd4454f39922c7c9a002815a9b9bc84e011
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
ALSA: usb-audio: fix Amanero Combo384 quirk on big-endian hosts

Add missing endianness conversion when using the USB device-descriptor
bcdDevice field when applying the Amanero Combo384 (endianness!) quirk.

Fixes: 3eff682d765b ("ALSA: usb-audio: Support both DSD LE/BE Amanero firmware versions")
Cc: Jussi Laako <jussi@sonarnerd.net>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/quirks.c