]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: aaci: ARM1176 aaci-pl041 AC97 register read timeout
authorPhilby John <pjohn@in.mvista.com>
Tue, 13 Oct 2009 11:00:22 +0000 (16:30 +0530)
committerTakashi Iwai <tiwai@suse.de>
Tue, 13 Oct 2009 13:59:55 +0000 (15:59 +0200)
commitb8413a6dd0c490d8f9be4588859764ddb29b171f
tree1f3070e9ba52c5e26da1aeef0f5bb3d9e5d5366f
parent9047b6354914e4afc6403c3a778e08f0ab6bee74
ALSA: 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: Takashi Iwai <tiwai@suse.de>
sound/arm/aaci.c