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
60e53882
Commit
60e53882
authored
Jul 06, 2009
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ALSA: hda - Fix double creation of SPDIF input controls
Signed-off-by:
Takashi Iwai
<
tiwai@suse.de
>
parent
40c20fa0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
sound/pci/hda/patch_cirrus.c
sound/pci/hda/patch_cirrus.c
+3
-6
No files found.
sound/pci/hda/patch_cirrus.c
View file @
60e53882
...
@@ -471,12 +471,9 @@ static int parse_digital_input(struct hda_codec *codec)
...
@@ -471,12 +471,9 @@ static int parse_digital_input(struct hda_codec *codec)
struct
auto_pin_cfg
*
cfg
=
&
spec
->
autocfg
;
struct
auto_pin_cfg
*
cfg
=
&
spec
->
autocfg
;
int
idx
;
int
idx
;
if
(
!
cfg
->
dig_in_pin
)
if
(
cfg
->
dig_in_pin
)
return
0
;
spec
->
dig_in
=
get_adc
(
codec
,
cfg
->
dig_in_pin
,
&
idx
);
spec
->
dig_in
=
get_adc
(
codec
,
cfg
->
dig_in_pin
,
&
idx
);
return
0
;
if
(
!
spec
->
dig_in
)
return
0
;
return
snd_hda_create_spdif_in_ctls
(
codec
,
spec
->
dig_in
);
}
}
/*
/*
...
...
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