Commit 4e0c4147 authored by Jaroslav Kysela's avatar Jaroslav Kysela

[ALSA] Fix compilation on big-endian arch

RME HDSP driver
Fixed typo in the code for big-endian architectures.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent c1d9569c
......@@ -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 = (u32*)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