This is a note to let you know that I've just added the patch titled
ALSA: bebob: fix to processing in big-endian machine for sending cue
to the 3.19-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
alsa-bebob-fix-to-processing-in-big-endian-machine-for-sending-cue.patch
and it can be found in the queue-3.19 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From a053fc318bc5d28cd25168c948255fd48a29ea26 Mon Sep 17 00:00:00 2001
From: Takashi Sakamoto <[email protected]>
Date: Thu, 9 Apr 2015 01:15:03 +0900
Subject: ALSA: bebob: fix to processing in big-endian machine for sending cue
From: Takashi Sakamoto <[email protected]>
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 <[email protected]>
Signed-off-by: Takashi Sakamoto <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
sound/firewire/bebob/bebob_maudio.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--- a/sound/firewire/bebob/bebob_maudio.c
+++ b/sound/firewire/bebob/bebob_maudio.c
@@ -96,10 +96,10 @@ int snd_bebob_maudio_load_firmware(struc
struct fw_device *device = fw_parent_device(unit);
int err, rcode;
u64 date;
- __be32 cues[3] = {
- MAUDIO_BOOTLOADER_CUE1,
- MAUDIO_BOOTLOADER_CUE2,
- MAUDIO_BOOTLOADER_CUE3
+ __le32 cues[3] = {
+ cpu_to_le32(MAUDIO_BOOTLOADER_CUE1),
+ cpu_to_le32(MAUDIO_BOOTLOADER_CUE2),
+ cpu_to_le32(MAUDIO_BOOTLOADER_CUE3)
};
/* check date of software used to build */
Patches currently in stable-queue which might be from [email protected]
are
queue-3.19/alsa-bebob-fix-to-processing-in-big-endian-machine-for-sending-cue.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html