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)
committerSasha Levin <sasha.levin@oracle.com>
Thu, 23 Apr 2015 03:27:58 +0000 (23:27 -0400)
commit8c54c7cb6fa1ddfc53b280c8be8ef3888a0245df
tree31c4115cf61f575f0646f5fb2856d06ccd679327
parent1f1c12d2d46fb4208510ed13a85103951fd2de08
ALSA: bebob: fix to processing in big-endian machine for sending cue

[ Upstream commit a053fc318bc5d28cd25168c948255fd48a29ea26 ]

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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
sound/firewire/bebob/bebob_maudio.c