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
b3225190
Commit
b3225190
authored
Mar 06, 2009
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/hda' into topic/hda
parents
f03d3115
c50ff7c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
sound/pci/hda/patch_sigmatel.c
sound/pci/hda/patch_sigmatel.c
+4
-2
No files found.
sound/pci/hda/patch_sigmatel.c
View file @
b3225190
...
@@ -1227,7 +1227,7 @@ static const char *slave_vols[] = {
...
@@ -1227,7 +1227,7 @@ static const char *slave_vols[] = {
"LFE Playback Volume"
,
"LFE Playback Volume"
,
"Side Playback Volume"
,
"Side Playback Volume"
,
"Headphone Playback Volume"
,
"Headphone Playback Volume"
,
"Headphone Playback Volume"
,
"Headphone
2
Playback Volume"
,
"Speaker Playback Volume"
,
"Speaker Playback Volume"
,
"External Speaker Playback Volume"
,
"External Speaker Playback Volume"
,
"Speaker2 Playback Volume"
,
"Speaker2 Playback Volume"
,
...
@@ -1241,7 +1241,7 @@ static const char *slave_sws[] = {
...
@@ -1241,7 +1241,7 @@ static const char *slave_sws[] = {
"LFE Playback Switch"
,
"LFE Playback Switch"
,
"Side Playback Switch"
,
"Side Playback Switch"
,
"Headphone Playback Switch"
,
"Headphone Playback Switch"
,
"Headphone Playback Switch"
,
"Headphone
2
Playback Switch"
,
"Speaker Playback Switch"
,
"Speaker Playback Switch"
,
"External Speaker Playback Switch"
,
"External Speaker Playback Switch"
,
"Speaker2 Playback Switch"
,
"Speaker2 Playback Switch"
,
...
@@ -3514,6 +3514,7 @@ static int stac92xx_parse_auto_config(struct hda_codec *codec, hda_nid_t dig_out
...
@@ -3514,6 +3514,7 @@ static int stac92xx_parse_auto_config(struct hda_codec *codec, hda_nid_t dig_out
if
(
!
spec
->
autocfg
.
line_outs
)
if
(
!
spec
->
autocfg
.
line_outs
)
return
0
;
/* can't find valid pin config */
return
0
;
/* can't find valid pin config */
#if 0 /* FIXME: temporarily disabled */
/* If we have no real line-out pin and multiple hp-outs, HPs should
/* If we have no real line-out pin and multiple hp-outs, HPs should
* be set up as multi-channel outputs.
* be set up as multi-channel outputs.
*/
*/
...
@@ -3533,6 +3534,7 @@ static int stac92xx_parse_auto_config(struct hda_codec *codec, hda_nid_t dig_out
...
@@ -3533,6 +3534,7 @@ static int stac92xx_parse_auto_config(struct hda_codec *codec, hda_nid_t dig_out
spec->autocfg.line_out_type = AUTO_PIN_HP_OUT;
spec->autocfg.line_out_type = AUTO_PIN_HP_OUT;
spec->autocfg.hp_outs = 0;
spec->autocfg.hp_outs = 0;
}
}
#endif /* FIXME: temporarily disabled */
if
(
spec
->
autocfg
.
mono_out_pin
)
{
if
(
spec
->
autocfg
.
mono_out_pin
)
{
int
dir
=
get_wcaps
(
codec
,
spec
->
autocfg
.
mono_out_pin
)
&
int
dir
=
get_wcaps
(
codec
,
spec
->
autocfg
.
mono_out_pin
)
&
(
AC_WCAP_OUT_AMP
|
AC_WCAP_IN_AMP
);
(
AC_WCAP_OUT_AMP
|
AC_WCAP_IN_AMP
);
...
...
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