Skip to contentSkip to conversation

rme9625/hdsp.c fix.

ppc/alsa-1.0.8 Paweł Sikora 1 participant 1 message Jan 26, 2005 Sound

lore
Share & tools
lore
#0 lore raw

Hi,

Attached patch fixes compilation error.
Could You look at this?

Regards,
Paweł.

This patch fixes compilation error:

CC [M] sound/pci/rme9652/hdsp.o
sound/pci/rme9652/hdsp.c: In function `hdsp_request_fw_loader':
sound/pci/rme9652/hdsp.c:4961: error: structure has no member named `data'

 hdsp.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
sound/pci/rme9652/hdsp.c +1 -1
@@ -4958,7 +4958,7 @@
 #ifdef SNDRV_BIG_ENDIAN
 	{
 		int i;
-		u32 *src = hdsp->data;
+		u32 *src = fw->data;
 		for (i = 0; i < ARRAY_SIZE(hdsp->firmware_cache); i++, src++)
 			hdsp->firmware_cache[i] = ((*src & 0x000000ff) << 16) |
 				((*src & 0x0000ff00) << 8)  |