summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorPhilby John <pjohn@in.mvista.com>2009-10-13 16:30:22 +0530
committerCatalin Marinas <catalin.marinas@arm.com>2009-10-26 15:58:43 +0000
commit74ece4056571443eef30d4dff62180944b5a39d8 (patch)
treecb87875d8cef0f60898c0045ee03c6be03da14c9 /sound
parent80c0f5b2f9f1e84ee9d4e27449569bd76f174b2b (diff)
aaci: ARM1176 aaci-pl041 AC97 register read timeout
Subject: [PATCH] aaci: ARM1176 aaci-pl041 AC97 register read timeout After a reboot on an ARM1176 which amounts to a softreset, it has been noted that the ALSA driver does not get registered and the probe fails with the error "aaci-pl041 fpga:04: ac97 read back fail". In the process of reading from a register the SL1TxBusy bit is set indicating that the transceiver is busy and remains so until the default timeout occurs. Set the Power down register 0x26 to an arbitrary value as specified in the PL041 manual (page: 3-18) so that AACISL1TX/AACISL2TX registers take their default state. Signed-off-by: Philby John <pjohn@in.mvista.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/arm/aaci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/arm/aaci.c b/sound/arm/aaci.c
index 89096e811a4b..98b6ffebdce3 100644
--- a/sound/arm/aaci.c
+++ b/sound/arm/aaci.c
@@ -937,6 +937,7 @@ static int __devinit aaci_probe_ac97(struct aaci *aaci)
struct snd_ac97 *ac97;
int ret;
+ writel(0, aaci->base + AC97_POWERDOWN);
/*
* Assert AACIRESET for 2us
*/