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
Kirill Smelkov
linux
Commits
7a2e38a5
Commit
7a2e38a5
authored
Apr 01, 2010
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/hda' into topic/hda
parents
c35c9d5d
b8e80cf3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
sound/pci/hda/patch_analog.c
sound/pci/hda/patch_analog.c
+8
-0
No files found.
sound/pci/hda/patch_analog.c
View file @
7a2e38a5
...
@@ -1904,6 +1904,14 @@ static int patch_ad1981(struct hda_codec *codec)
...
@@ -1904,6 +1904,14 @@ static int patch_ad1981(struct hda_codec *codec)
case
AD1981_THINKPAD
:
case
AD1981_THINKPAD
:
spec
->
mixers
[
0
]
=
ad1981_thinkpad_mixers
;
spec
->
mixers
[
0
]
=
ad1981_thinkpad_mixers
;
spec
->
input_mux
=
&
ad1981_thinkpad_capture_source
;
spec
->
input_mux
=
&
ad1981_thinkpad_capture_source
;
/* set the upper-limit for mixer amp to 0dB for avoiding the
* possible damage by overloading
*/
snd_hda_override_amp_caps
(
codec
,
0x11
,
HDA_INPUT
,
(
0x17
<<
AC_AMPCAP_OFFSET_SHIFT
)
|
(
0x17
<<
AC_AMPCAP_NUM_STEPS_SHIFT
)
|
(
0x05
<<
AC_AMPCAP_STEP_SIZE_SHIFT
)
|
(
1
<<
AC_AMPCAP_MUTE_SHIFT
));
break
;
break
;
case
AD1981_TOSHIBA
:
case
AD1981_TOSHIBA
:
spec
->
mixers
[
0
]
=
ad1981_hp_mixers
;
spec
->
mixers
[
0
]
=
ad1981_hp_mixers
;
...
...
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