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
350eba43
Commit
350eba43
authored
Mar 16, 2012
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ALSA: hda - Fix build with CONFIG_PM=n
Signed-off-by:
Takashi Iwai
<
tiwai@suse.de
>
parent
7907ae3e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
sound/pci/hda/patch_sigmatel.c
sound/pci/hda/patch_sigmatel.c
+9
-0
No files found.
sound/pci/hda/patch_sigmatel.c
View file @
350eba43
...
@@ -5043,6 +5043,11 @@ static void stac92xx_set_power_state(struct hda_codec *codec, hda_nid_t fg,
...
@@ -5043,6 +5043,11 @@ static void stac92xx_set_power_state(struct hda_codec *codec, hda_nid_t fg,
afg_power_state
);
afg_power_state
);
snd_hda_codec_set_power_to_all
(
codec
,
fg
,
power_state
,
true
);
snd_hda_codec_set_power_to_all
(
codec
,
fg
,
power_state
,
true
);
}
}
#else
#define stac92xx_suspend NULL
#define stac92xx_resume NULL
#define stac92xx_pre_resume NULL
#define stac92xx_set_power_state NULL
#endif
/* CONFIG_PM */
#endif
/* CONFIG_PM */
/* update mute-LED accoring to the master switch */
/* update mute-LED accoring to the master switch */
...
@@ -5588,7 +5593,9 @@ static int patch_stac92hd83xxx(struct hda_codec *codec)
...
@@ -5588,7 +5593,9 @@ static int patch_stac92hd83xxx(struct hda_codec *codec)
codec
->
patch_ops
.
set_power_state
=
codec
->
patch_ops
.
set_power_state
=
stac92xx_set_power_state
;
stac92xx_set_power_state
;
}
}
#ifdef CONFIG_PM
codec
->
patch_ops
.
pre_resume
=
stac92xx_pre_resume
;
codec
->
patch_ops
.
pre_resume
=
stac92xx_pre_resume
;
#endif
}
}
err
=
stac92xx_parse_auto_config
(
codec
);
err
=
stac92xx_parse_auto_config
(
codec
);
...
@@ -5895,7 +5902,9 @@ static int patch_stac92hd71bxx(struct hda_codec *codec)
...
@@ -5895,7 +5902,9 @@ static int patch_stac92hd71bxx(struct hda_codec *codec)
codec
->
patch_ops
.
set_power_state
=
codec
->
patch_ops
.
set_power_state
=
stac92xx_set_power_state
;
stac92xx_set_power_state
;
}
}
#ifdef CONFIG_PM
codec
->
patch_ops
.
pre_resume
=
stac92xx_pre_resume
;
codec
->
patch_ops
.
pre_resume
=
stac92xx_pre_resume
;
#endif
}
}
spec
->
multiout
.
dac_nids
=
spec
->
dac_nids
;
spec
->
multiout
.
dac_nids
=
spec
->
dac_nids
;
...
...
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