ALSA: aaci - Fix alignment faults on ARM Cortex introduced by commit 29a4f2d3
authorPhilby John <pjohn@mvista.com>
Fri, 26 Mar 2010 16:07:51 +0000 (21:37 +0530)
committerTakashi Iwai <tiwai@suse.de>
Tue, 13 Apr 2010 07:46:55 +0000 (09:46 +0200)
commitb68b58fd6a341c2115ff5fb466fe9fc0b581980e
treeeaeaa1a7babed5ee4df999d99468eff79e68f2d1
parent29aac005ff4dc8a5f50b80f4e5c4f59b21c0fb50
ALSA: aaci - Fix alignment faults on ARM Cortex introduced by commit 29a4f2d3

The commit 29a4f2d3 used writel() at offset 0x26 which is
half-word aligned causing unaligned exceptions on a
Cortex-A8. The original patch solved the "aaci-pl041 fpga:04:
ac97 read back fail" issue on a soft reset. Reading from any
arbitrary aaci register seems to solve this issue.

Signed-off-by: Philby John <pjohn@mvista.com>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/arm/aaci.c