]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb38bc34cb57de8baa77646a4a8930de062ba1483
tree96c44cd4454f39922c7c9a002815a9b9bc84e011
parent81e0e7134ab085ac5d0890177bfed38a0f2be4f8
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: 34bc8b5f4250 ("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