ALSA: bebob: fix to processing in big-endian machine for sending cue
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 8 Apr 2015 16:15:03 +0000 (01:15 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 19 Apr 2015 08:10:10 +0000 (10:10 +0200)
commit1b0992fcc81e6badca596863e58d37f63e322cb7
treea6035c68a52e4d6722eefbca26d1089e06ca8e07
parent7c9dd3bf65adbc60613364b3f6a2110b75ae720a
ALSA: bebob: fix to processing in big-endian machine for sending cue

commit a053fc318bc5d28cd25168c948255fd48a29ea26 upstream.

Some M-Audio devices require to receive bootup command just after
powering on, while codes in BeBoB driver doesn't work properly in
big-endian machine because the command should be aligned by
little-endian.

This commit fixes this bug. This fix should go to stable kernel.

Cc: Takayuki Shiroma <t.shiroma.oki@gmail.com>
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/firewire/bebob/bebob_maudio.c