Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
fb697abe
Commit
fb697abe
authored
May 14, 2003
by
Dave Jones
Committed by
Linus Torvalds
May 14, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] i810 no codec fix.
Syncs up with 2.4
parent
3ab340dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
sound/oss/i810_audio.c
sound/oss/i810_audio.c
+12
-5
No files found.
sound/oss/i810_audio.c
View file @
fb697abe
...
@@ -66,16 +66,19 @@
...
@@ -66,16 +66,19 @@
*
*
* This driver is cursed. (Ben LaHaise)
* 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
* ICH 4 caveats
*
*
*
The ICH4 has the feature, that the codec ID doesn't have to be
*
The ICH4 has the feature, that the codec ID doesn't have to be
*
congruent with the IO connection.
*
congruent with the IO connection.
*
*
*
Therefore, from driver version 0.23 on, there is a "codec ID" <->
*
Therefore, from driver version 0.23 on, there is a "codec ID" <->
*
"IO register base offset" mapping (card->ac97_id_map) field.
*
"IO register base offset" mapping (card->ac97_id_map) field.
*
*
*
Juergen "George" Sawinski (jsaw)
*
Juergen "George" Sawinski (jsaw)
*/
*/
#include <linux/module.h>
#include <linux/module.h>
...
@@ -640,6 +643,10 @@ static void i810_set_dac_channels(struct i810_state *state, int channel)
...
@@ -640,6 +643,10 @@ static void i810_set_dac_channels(struct i810_state *state, int channel)
int
aud_reg
;
int
aud_reg
;
struct
ac97_codec
*
codec
=
state
->
card
->
ac97_codec
[
0
];
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
=
i810_ac97_get
(
codec
,
AC97_EXTENDED_STATUS
);
aud_reg
|=
AC97_EA_PRI
|
AC97_EA_PRJ
|
AC97_EA_PRK
;
aud_reg
|=
AC97_EA_PRI
|
AC97_EA_PRJ
|
AC97_EA_PRK
;
state
->
card
->
ac97_status
&=
~
(
SURR_ON
|
CENTER_LFE_ON
);
state
->
card
->
ac97_status
&=
~
(
SURR_ON
|
CENTER_LFE_ON
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment