Commit 1a1905f8 authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] rme9562 big-endian compile fix (dumb typo)

hdsp->data used when fw->data should've been (BTW, another branch of
that ifdef is memcpy from fw->data to ->firmware_cache; this one
byteswaps). 
Signed-off-by: default avatarAl Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent d857bd49
......@@ -4958,7 +4958,7 @@ static int __devinit hdsp_request_fw_loader(hdsp_t *hdsp)
#ifdef SNDRV_BIG_ENDIAN
{
int i;
u32 *src = hdsp->data;
u32 *src = (void *)fw->data;
for (i = 0; i < ARRAY_SIZE(hdsp->firmware_cache); i++, src++)
hdsp->firmware_cache[i] = ((*src & 0x000000ff) << 16) |
((*src & 0x0000ff00) << 8) |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment