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
27af9d33
Commit
27af9d33
authored
Sep 14, 2009
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/hda' into for-next
parents
1110afbe
af6ee302
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
21 deletions
+15
-21
sound/pci/hda/patch_realtek.c
sound/pci/hda/patch_realtek.c
+2
-1
sound/pci/hda/patch_sigmatel.c
sound/pci/hda/patch_sigmatel.c
+13
-20
No files found.
sound/pci/hda/patch_realtek.c
View file @
27af9d33
...
...
@@ -13370,7 +13370,8 @@ static const char *alc269_models[ALC269_MODEL_LAST] = {
[
ALC269_ASUS_EEEPC_P703
]
=
"eeepc-p703"
,
[
ALC269_ASUS_EEEPC_P901
]
=
"eeepc-p901"
,
[
ALC269_FUJITSU
]
=
"fujitsu"
,
[
ALC269_LIFEBOOK
]
=
"lifebook"
[
ALC269_LIFEBOOK
]
=
"lifebook"
,
[
ALC269_AUTO
]
=
"auto"
,
};
static
struct
snd_pci_quirk
alc269_cfg_tbl
[]
=
{
...
...
sound/pci/hda/patch_sigmatel.c
View file @
27af9d33
...
...
@@ -5016,7 +5016,7 @@ again:
spec
->
eapd_switch
=
1
;
break
;
}
if
(
spec
->
board_config
>
STAC_92HD73XX_REF
)
{
if
(
spec
->
board_config
!=
STAC_92HD73XX_REF
)
{
/* GPIO0 High = Enable EAPD */
spec
->
eapd_mask
=
spec
->
gpio_mask
=
spec
->
gpio_dir
=
0x1
;
spec
->
gpio_data
=
0x01
;
...
...
@@ -5557,14 +5557,17 @@ static int patch_stac927x(struct hda_codec *codec)
spec
->
dac_list
=
stac927x_dac_nids
;
spec
->
multiout
.
dac_nids
=
spec
->
dac_nids
;
if
(
spec
->
board_config
!=
STAC_D965_REF
)
{
/* GPIO0 High = Enable EAPD */
spec
->
eapd_mask
=
spec
->
gpio_mask
=
0x01
;
spec
->
gpio_dir
=
spec
->
gpio_data
=
0x01
;
}
switch
(
spec
->
board_config
)
{
case
STAC_D965_3ST
:
case
STAC_D965_5ST
:
/* GPIO0 High = Enable EAPD */
spec
->
eapd_mask
=
spec
->
gpio_mask
=
spec
->
gpio_dir
=
0x01
;
spec
->
gpio_data
=
0x01
;
spec
->
num_dmics
=
0
;
spec
->
init
=
d965_core_init
;
break
;
case
STAC_DELL_BIOS
:
...
...
@@ -5583,16 +5586,11 @@ static int patch_stac927x(struct hda_codec *codec)
snd_hda_codec_set_pincfg
(
codec
,
0x0e
,
0x02a79130
);
/* fallthru */
case
STAC_DELL_3ST
:
/* GPIO2 High = Enable EAPD */
spec
->
eapd_mask
=
spec
->
gpio_mask
=
spec
->
gpio_dir
=
0x04
;
spec
->
gpio_data
=
0x04
;
switch
(
codec
->
subsystem_id
)
{
case
0x1028022f
:
/* correct EAPD to be GPIO0 */
spec
->
eapd_mask
=
spec
->
gpio_mask
=
0x01
;
spec
->
gpio_dir
=
spec
->
gpio_data
=
0x01
;
break
;
};
if
(
codec
->
subsystem_id
!=
0x1028022f
)
{
/* GPIO2 High = Enable EAPD */
spec
->
eapd_mask
=
spec
->
gpio_mask
=
0x04
;
spec
->
gpio_dir
=
spec
->
gpio_data
=
0x04
;
}
spec
->
dmic_nids
=
stac927x_dmic_nids
;
spec
->
num_dmics
=
STAC927X_NUM_DMICS
;
...
...
@@ -5601,14 +5599,9 @@ static int patch_stac927x(struct hda_codec *codec)
spec
->
num_dmuxes
=
ARRAY_SIZE
(
stac927x_dmux_nids
);
break
;
default:
if
(
spec
->
board_config
>
STAC_D965_REF
)
{
/* GPIO0 High = Enable EAPD */
spec
->
eapd_mask
=
spec
->
gpio_mask
=
0x01
;
spec
->
gpio_dir
=
spec
->
gpio_data
=
0x01
;
}
spec
->
num_dmics
=
0
;
spec
->
init
=
stac927x_core_init
;
break
;
}
spec
->
num_caps
=
STAC927X_NUM_CAPS
;
...
...
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