From: davej@codemonkey.org.uk
To: torvalds@transmeta.com
Cc: linux-kernel@vger.kernel.org
Subject: i810 no codec fix.
Date: Thu, 15 May 2003 04:31:15 +0100 [thread overview]
Message-ID: <200305150331.h4F3VFTl000738@deviant.impure.org.uk> (raw)
Syncs up with 2.4
diff -urpN --exclude-from=/home/davej/.exclude bk-linus/sound/oss/i810_audio.c linux-2.5/sound/oss/i810_audio.c
--- bk-linus/sound/oss/i810_audio.c 2003-04-25 13:53:16.000000000 +0100
+++ linux-2.5/sound/oss/i810_audio.c 2003-04-26 15:08:06.000000000 +0100
@@ -66,16 +66,19 @@
*
* This driver is cursed. (Ben LaHaise)
*
+ * ICH 3 caveats
+ * Intel errata #7 for ICH3 IO. We need to disable SMI stuff
+ * when codec probing. [Not Yet Done]
*
* ICH 4 caveats
*
- * The ICH4 has the feature, that the codec ID doesn't have to be
- * congruent with the IO connection.
+ * The ICH4 has the feature, that the codec ID doesn't have to be
+ * congruent with the IO connection.
*
- * Therefore, from driver version 0.23 on, there is a "codec ID" <->
- * "IO register base offset" mapping (card->ac97_id_map) field.
+ * Therefore, from driver version 0.23 on, there is a "codec ID" <->
+ * "IO register base offset" mapping (card->ac97_id_map) field.
*
- * Juergen "George" Sawinski (jsaw)
+ * Juergen "George" Sawinski (jsaw)
*/
#include <linux/module.h>
@@ -640,6 +643,10 @@ static void i810_set_dac_channels(struct
int aud_reg;
struct ac97_codec *codec = state->card->ac97_codec[0];
+ /* No codec, no setup */
+ if(codec == NULL)
+ return;
+
aud_reg = i810_ac97_get(codec, AC97_EXTENDED_STATUS);
aud_reg |= AC97_EA_PRI | AC97_EA_PRJ | AC97_EA_PRK;
state->card->ac97_status &= ~(SURR_ON | CENTER_LFE_ON);
reply other threads:[~2003-05-15 3:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200305150331.h4F3VFTl000738@deviant.impure.org.uk \
--to=davej@codemonkey.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®