Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
d855ebec
Commit
d855ebec
authored
Apr 07, 2009
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'topic/hda' into for-linus
parents
e50a96e7
fd60cc89
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletion
+19
-1
sound/pci/hda/patch_analog.c
sound/pci/hda/patch_analog.c
+1
-1
sound/pci/hda/patch_sigmatel.c
sound/pci/hda/patch_sigmatel.c
+18
-0
No files found.
sound/pci/hda/patch_analog.c
View file @
d855ebec
...
@@ -3256,7 +3256,7 @@ static const char *ad1884_slave_vols[] = {
...
@@ -3256,7 +3256,7 @@ static const char *ad1884_slave_vols[] = {
"Mic Playback Volume"
,
"Mic Playback Volume"
,
"CD Playback Volume"
,
"CD Playback Volume"
,
"Internal Mic Playback Volume"
,
"Internal Mic Playback Volume"
,
"Docking Mic Playback Volume"
"Docking Mic Playback Volume"
,
/* "Beep Playback Volume", */
/* "Beep Playback Volume", */
"IEC958 Playback Volume"
,
"IEC958 Playback Volume"
,
NULL
NULL
...
...
sound/pci/hda/patch_sigmatel.c
View file @
d855ebec
...
@@ -4413,6 +4413,24 @@ static void stac92xx_unsol_event(struct hda_codec *codec, unsigned int res)
...
@@ -4413,6 +4413,24 @@ static void stac92xx_unsol_event(struct hda_codec *codec, unsigned int res)
if
(
spec
->
num_pwrs
>
0
)
if
(
spec
->
num_pwrs
>
0
)
stac92xx_pin_sense
(
codec
,
event
->
nid
);
stac92xx_pin_sense
(
codec
,
event
->
nid
);
stac92xx_report_jack
(
codec
,
event
->
nid
);
stac92xx_report_jack
(
codec
,
event
->
nid
);
switch
(
codec
->
subsystem_id
)
{
case
0x103c308f
:
if
(
event
->
nid
==
0xb
)
{
int
pin
=
AC_PINCTL_IN_EN
;
if
(
get_pin_presence
(
codec
,
0xa
)
&&
get_pin_presence
(
codec
,
0xb
))
pin
|=
AC_PINCTL_VREF_80
;
if
(
!
get_pin_presence
(
codec
,
0xb
))
pin
|=
AC_PINCTL_VREF_80
;
/* toggle VREF state based on mic + hp pin
* status
*/
stac92xx_auto_set_pinctl
(
codec
,
0x0a
,
pin
);
}
}
break
;
break
;
case
STAC_VREF_EVENT
:
case
STAC_VREF_EVENT
:
data
=
snd_hda_codec_read
(
codec
,
codec
->
afg
,
0
,
data
=
snd_hda_codec_read
(
codec
,
codec
->
afg
,
0
,
...
...
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