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
0fe0adf8
Commit
0fe0adf8
authored
Jun 19, 2011
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ALSA: hda - Replace with standard consts in patch_via.c
Signed-off-by:
Takashi Iwai
<
tiwai@suse.de
>
parent
ece8d043
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
sound/pci/hda/patch_via.c
sound/pci/hda/patch_via.c
+2
-9
No files found.
sound/pci/hda/patch_via.c
View file @
0fe0adf8
...
...
@@ -263,13 +263,6 @@ enum {
VIA_CTL_WIDGET_BIND_PIN_MUTE
,
};
enum
{
AUTO_SEQ_FRONT
=
0
,
AUTO_SEQ_SURROUND
,
AUTO_SEQ_CENLFE
,
AUTO_SEQ_SIDE
};
static
void
analog_low_current_mode
(
struct
hda_codec
*
codec
,
int
stream_idle
);
static
int
is_aa_path_mute
(
struct
hda_codec
*
codec
);
...
...
@@ -528,7 +521,7 @@ static void via_auto_init_multi_out(struct hda_codec *codec)
struct
via_spec
*
spec
=
codec
->
spec
;
int
i
;
for
(
i
=
0
;
i
<=
AUTO_SEQ
_SIDE
;
i
++
)
{
for
(
i
=
0
;
i
<=
HDA
_SIDE
;
i
++
)
{
hda_nid_t
nid
=
spec
->
autocfg
.
line_out_pins
[
i
];
if
(
nid
)
via_auto_set_output_and_unmute
(
codec
,
nid
,
PIN_OUT
,
i
);
...
...
@@ -1839,7 +1832,7 @@ static int via_auto_create_multi_out_ctls(struct hda_codec *codec)
dac
=
spec
->
multiout
.
dac_nids
[
i
];
if
(
!
pin
||
!
dac
)
continue
;
if
(
i
==
AUTO_SEQ_CEN
LFE
)
{
if
(
i
==
HDA_C
LFE
)
{
err
=
create_ch_ctls
(
codec
,
"Center"
,
pin
,
dac
,
1
);
if
(
err
<
0
)
return
err
;
...
...
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