Skip to content

Commit

Permalink
ALSA: aaci: ARM1176 aaci-pl041 AC97 register read timeout
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
Philby John authored and tiwai committed Oct 13, 2009
1 parent 9c6b8dc commit 29a4f2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/arm/aaci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 29a4f2d

Please sign in to comment.