PXA27x AC97 warm reset
PATCH 1/1 PXA27x AC97 warm reset
This patch extends the period of an AC97 warm reset on the PXA27x from 50uS to 500uS. The shorter reset didn't always guarantee that the codec would wake up.
Changes:-
o Change pxa27x warm reset period to 500uS
o Removed double semi-colon.
Liam
Index: arm/pxa2xx-ac97.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/arm/pxa2xx-ac97.c,v retrieving revision 1.1
pxa2xx-ac97.c +2 -2
@@ -132,9 +132,9 @@udelay (10 );GCR |=GCR_WARM_RST ;pxa_gpio_mode (113 |GPIO_ALT_FN_2_OUT ); -udelay (50 ); +udelay (500 );#else -GCR |=GCR_WARM_RST |GCR_PRIRDY_IEN |GCR_SECRDY_IEN ;; +GCR |=GCR_WARM_RST |GCR_PRIRDY_IEN |GCR_SECRDY_IEN ;wait_event_timeout (gsr_wq, gsr_bits & (GSR_PCR |GSR_SCR ),1 );#endif
Takashi Iwai
AppliedAt Thu, 04 Aug 2005 16:20:06 +0100,
Quoted 6 lines · Liam Girdwood
[1 <text/plain (7bit)>]
This patch extends the period of an AC97 warm reset on the PXA27x from 50uS to 500uS. The shorter reset didn't always guarantee that the codec would wake up.
Quoted 6 lines
Changes:-
o Change pxa27x warm reset period to 500uS
o Removed double semi-colon.Signed-off-by Liam Girdwood <[email protected]>
Thanks, applied to CVS.
Takashi
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf