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
63b2413b
Commit
63b2413b
authored
Jul 09, 2009
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ALSA: hda - don't build digital output controls if not exist
Signed-off-by:
Takashi Iwai
<
tiwai@suse.de
>
parent
277a57c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
sound/pci/hda/patch_cirrus.c
sound/pci/hda/patch_cirrus.c
+3
-0
No files found.
sound/pci/hda/patch_cirrus.c
View file @
63b2413b
...
@@ -779,6 +779,9 @@ static int build_digital_output(struct hda_codec *codec)
...
@@ -779,6 +779,9 @@ static int build_digital_output(struct hda_codec *codec)
struct
cs_spec
*
spec
=
codec
->
spec
;
struct
cs_spec
*
spec
=
codec
->
spec
;
int
err
;
int
err
;
if
(
!
spec
->
multiout
.
dig_out_nid
)
return
0
;
err
=
snd_hda_create_spdif_out_ctls
(
codec
,
spec
->
multiout
.
dig_out_nid
);
err
=
snd_hda_create_spdif_out_ctls
(
codec
,
spec
->
multiout
.
dig_out_nid
);
if
(
err
<
0
)
if
(
err
<
0
)
return
err
;
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