* es1371 and alphas (fix)
@ 1999-04-01 13:23 Ivan N. Kokshaysky
1999-04-01 8:20 ` Uncle George
0 siblings, 1 reply; 3+ messages in thread
From: Ivan N. Kokshaysky @ 1999-04-01 13:23 UTC (permalink / raw)
To: axp-list
The problem is in writing `0' (enable SRC) into the sample rate
converter register while it's still busy after previous write
(damn, these alphas are fast! ;-), so we end up with disabled SRC.
This one line patch cures the problem (tested on 164SX 533 MHz).
Ivan.
--- linux/drivers/sound/es1371.c.orig Tue Mar 30 12:01:24 1999
+++ linux/drivers/sound/es1371.c Wed Mar 31 20:17:10 1999
@@ -2796,6 +2796,7 @@
* be stuck high, and I've found no way to rectify this other than
* power cycle)
*/
+ wait_src_ready(s);
outl(0, s->io+ES1371_REG_SRCONV);
/* codec init */
wrcodec(s, 0x00, 0); /* reset codec */
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: es1371 and alphas (fix)
1999-04-01 13:23 es1371 and alphas (fix) Ivan N. Kokshaysky
@ 1999-04-01 8:20 ` Uncle George
1999-04-01 16:48 ` Ivan N. Kokshaysky
0 siblings, 1 reply; 3+ messages in thread
From: Uncle George @ 1999-04-01 8:20 UTC (permalink / raw)
To: axp-list
Cures the Alpha/sound kernel crash ? Not sure what it cures ?
gat
Ivan N. Kokshaysky wrote:
> The problem is in writing `0' (enable SRC) into the sample rate
> converter register while it's still busy after previous write
> (damn, these alphas are fast! ;-), so we end up with disabled SRC.
> This one line patch cures the problem (tested on 164SX 533 MHz).
>
> Ivan.
>
> --- linux/drivers/sound/es1371.c.orig Tue Mar 30 12:01:24 1999
> +++ linux/drivers/sound/es1371.c Wed Mar 31 20:17:10 1999
> @@ -2796,6 +2796,7 @@
> * be stuck high, and I've found no way to rectify this other than
> * power cycle)
> */
> + wait_src_ready(s);
> outl(0, s->io+ES1371_REG_SRCONV);
> /* codec init */
> wrcodec(s, 0x00, 0); /* reset codec */
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: es1371 and alphas (fix)
1999-04-01 8:20 ` Uncle George
@ 1999-04-01 16:48 ` Ivan N. Kokshaysky
0 siblings, 0 replies; 3+ messages in thread
From: Ivan N. Kokshaysky @ 1999-04-01 16:48 UTC (permalink / raw)
To: axp-list
On Thu, Apr 01, 1999 at 03:20:44AM -0500, Uncle George wrote:
> Cures the Alpha/sound kernel crash ? Not sure what it cures ?
> gat
>
It fixes the problem that es1371 was improperly initialised
and you weren't able to get any sound from it. I have an impression
it's es1370 causes kernel crash, not the es1371.
Ivan.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-04-01 17:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-01 13:23 es1371 and alphas (fix) Ivan N. Kokshaysky
1999-04-01 8:20 ` Uncle George
1999-04-01 16:48 ` Ivan N. Kokshaysky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox