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
7907f6a4
Commit
7907f6a4
authored
Jan 23, 2009
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/hda' into topic/hda
parents
d9a4268e
32ed3f46
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
8 deletions
+14
-8
Documentation/sound/alsa/HD-Audio-Models.txt
Documentation/sound/alsa/HD-Audio-Models.txt
+1
-0
sound/pci/hda/patch_sigmatel.c
sound/pci/hda/patch_sigmatel.c
+13
-8
No files found.
Documentation/sound/alsa/HD-Audio-Models.txt
View file @
7907f6a4
...
...
@@ -350,6 +350,7 @@ STAC92HD73*
STAC92HD83*
===========
ref Reference board
mic-ref Reference board with power managment for ports
STAC9872
========
...
...
sound/pci/hda/patch_sigmatel.c
View file @
7907f6a4
...
...
@@ -82,6 +82,7 @@ enum {
enum
{
STAC_92HD83XXX_REF
,
STAC_92HD83XXX_PWR_REF
,
STAC_92HD83XXX_MODELS
};
...
...
@@ -338,7 +339,7 @@ static hda_nid_t stac92hd83xxx_slave_dig_outs[2] = {
};
static
unsigned
int
stac92hd83xxx_pwr_mapping
[
4
]
=
{
0x03
,
0x0c
,
0x20
,
0x
8
0
,
0x03
,
0x0c
,
0x20
,
0x
4
0
,
};
static
hda_nid_t
stac92hd83xxx_amp_nids
[
1
]
=
{
...
...
@@ -1740,10 +1741,12 @@ static unsigned int ref92hd83xxx_pin_configs[14] = {
static
unsigned
int
*
stac92hd83xxx_brd_tbl
[
STAC_92HD83XXX_MODELS
]
=
{
[
STAC_92HD83XXX_REF
]
=
ref92hd83xxx_pin_configs
,
[
STAC_92HD83XXX_PWR_REF
]
=
ref92hd83xxx_pin_configs
,
};
static
const
char
*
stac92hd83xxx_models
[
STAC_92HD83XXX_MODELS
]
=
{
[
STAC_92HD83XXX_REF
]
=
"ref"
,
[
STAC_92HD83XXX_PWR_REF
]
=
"mic-ref"
,
};
static
struct
snd_pci_quirk
stac92hd83xxx_cfg_tbl
[]
=
{
...
...
@@ -4820,13 +4823,6 @@ static int patch_stac92hd83xxx(struct hda_codec *codec)
AC_VERB_SET_CONNECT_SEL
,
num_dacs
);
spec
->
init
=
stac92hd83xxx_core_init
;
switch
(
codec
->
vendor_id
)
{
case
0x111d7605
:
break
;
default:
spec
->
num_pwrs
--
;
}
spec
->
mixer
=
stac92hd83xxx_mixer
;
spec
->
num_pins
=
ARRAY_SIZE
(
stac92hd83xxx_pin_nids
);
spec
->
num_dmuxes
=
ARRAY_SIZE
(
stac92hd83xxx_dmux_nids
);
...
...
@@ -4852,6 +4848,15 @@ static int patch_stac92hd83xxx(struct hda_codec *codec)
return
err
;
}
switch
(
codec
->
vendor_id
)
{
case
0x111d7604
:
case
0x111d7605
:
if
(
spec
->
board_config
==
STAC_92HD83XXX_PWR_REF
)
break
;
spec
->
num_pwrs
=
0
;
break
;
}
err
=
stac92xx_parse_auto_config
(
codec
,
0x1d
,
0
);
if
(
!
err
)
{
if
(
spec
->
board_config
<
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