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
5187ac16
Commit
5187ac16
authored
Jan 07, 2013
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ALSA: hda - Add brief comments to exported snd_hda_gen_*_() functions
Signed-off-by:
Takashi Iwai
<
tiwai@suse.de
>
parent
dd5e7203
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
sound/pci/hda/hda_generic.c
sound/pci/hda/hda_generic.c
+12
-1
No files found.
sound/pci/hda/hda_generic.c
View file @
5187ac16
...
@@ -3901,6 +3901,10 @@ static void clear_unsol_on_unused_pins(struct hda_codec *codec)
...
@@ -3901,6 +3901,10 @@ static void clear_unsol_on_unused_pins(struct hda_codec *codec)
}
}
}
}
/*
* initialize the generic spec;
* this can be put as patch_ops.init function
*/
int
snd_hda_gen_init
(
struct
hda_codec
*
codec
)
int
snd_hda_gen_init
(
struct
hda_codec
*
codec
)
{
{
struct
hda_gen_spec
*
spec
=
codec
->
spec
;
struct
hda_gen_spec
*
spec
=
codec
->
spec
;
...
@@ -3937,7 +3941,10 @@ int snd_hda_gen_init(struct hda_codec *codec)
...
@@ -3937,7 +3941,10 @@ int snd_hda_gen_init(struct hda_codec *codec)
}
}
EXPORT_SYMBOL_HDA
(
snd_hda_gen_init
);
EXPORT_SYMBOL_HDA
(
snd_hda_gen_init
);
/*
* free the generic spec;
* this can be put as patch_ops.free function
*/
void
snd_hda_gen_free
(
struct
hda_codec
*
codec
)
void
snd_hda_gen_free
(
struct
hda_codec
*
codec
)
{
{
snd_hda_gen_spec_free
(
codec
->
spec
);
snd_hda_gen_spec_free
(
codec
->
spec
);
...
@@ -3947,6 +3954,10 @@ void snd_hda_gen_free(struct hda_codec *codec)
...
@@ -3947,6 +3954,10 @@ void snd_hda_gen_free(struct hda_codec *codec)
EXPORT_SYMBOL_HDA
(
snd_hda_gen_free
);
EXPORT_SYMBOL_HDA
(
snd_hda_gen_free
);
#ifdef CONFIG_PM
#ifdef CONFIG_PM
/*
* check the loopback power save state;
* this can be put as patch_ops.check_power_status function
*/
int
snd_hda_gen_check_power_status
(
struct
hda_codec
*
codec
,
hda_nid_t
nid
)
int
snd_hda_gen_check_power_status
(
struct
hda_codec
*
codec
,
hda_nid_t
nid
)
{
{
struct
hda_gen_spec
*
spec
=
codec
->
spec
;
struct
hda_gen_spec
*
spec
=
codec
->
spec
;
...
...
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