From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 32634 invoked from network); 1 Apr 1999 14:16:34 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 1 Apr 1999 14:16:34 -0000 Received: from jurassic.park.msu.ru (jurassic.park.msu.ru [195.208.223.243]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id IAA22800 for ; Thu, 1 Apr 1999 08:59:38 -0500 Received: (from ink@localhost) by jurassic.park.msu.ru (8.8.7/8.8.7) id RAA04109 for axp-list@redhat.com; Thu, 1 Apr 1999 17:23:24 +0400 Date: Thu, 1 Apr 1999 17:23:24 +0400 From: "Ivan N. Kokshaysky" Message-Id: <199904011323.RAA04109@jurassic.park.msu.ru> To: axp-list@redhat.com Subject: es1371 and alphas (fix) 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 */