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
7363b218
Commit
7363b218
authored
Mar 18, 2004
by
Jaroslav Kysela
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ALSA CVS update - Takashi Iwai <tiwai@suse.de>
AC97 Codec Core added the quirk for Compaq Evo D510C.
parent
66a440ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
sound/pci/ac97/ac97_patch.c
sound/pci/ac97/ac97_patch.c
+12
-8
No files found.
sound/pci/ac97/ac97_patch.c
View file @
7363b218
...
...
@@ -1130,10 +1130,12 @@ int patch_alc650(ac97_t * ac97)
val
&=
~
0x03
;
/* disable */
snd_ac97_write_cache
(
ac97
,
AC97_ALC650_CLOCK
,
val
);
val
=
snd_ac97_read
(
ac97
,
AC97_ALC650_MULTICH
);
val
&=
~
0xc000
;
/* slot: 3,4,7,8,6,9 */
val
&=
~
(
1
<<
10
);
/* center-on-mic off */
snd_ac97_write_cache
(
ac97
,
AC97_ALC650_MULTICH
,
val
);
/* set default: slot 3,4,7,8,6,9
spdif-in monitor off, analog-spdif off, spdif-in off
center on mic off, surround on line-in off
downmix off, duplicate front off
*/
snd_ac97_write_cache
(
ac97
,
AC97_ALC650_MULTICH
,
0
);
/* set GPIO0 for mic bias */
/* GPIO0 pin output, no interrupt, high */
...
...
@@ -1262,10 +1264,12 @@ int patch_alc655(ac97_t * ac97)
val
|=
(
1
<<
1
);
/* spdif input pin */
val
&=
~
(
1
<<
12
);
/* vref enable */
snd_ac97_write_cache
(
ac97
,
0x7a
,
val
);
val
=
snd_ac97_read
(
ac97
,
AC97_ALC650_MULTICH
);
val
|=
(
1
<<
15
);
/* enable spdif in */
val
&=
~
(
1
<<
10
);
/* disable center on mic */
snd_ac97_write_cache
(
ac97
,
AC97_ALC650_MULTICH
,
val
);
/* set default: spdif-in enabled,
spdif-in monitor off, spdif-in PCM off
center on mic off, surround on line-in off
duplicate front off
*/
snd_ac97_write_cache
(
ac97
,
AC97_ALC650_MULTICH
,
1
<<
15
);
/* full DAC volume */
snd_ac97_write_cache
(
ac97
,
AC97_ALC650_SURR_DAC_VOL
,
0x0808
);
...
...
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