Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 353098
b: refs/heads/master
c: 5187ac1
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai committed Jan 12, 2013
1 parent a0bdeb3 commit 365832a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dd5e72030429edfcdee7c0fcdce702ecc81a739e
refs/heads/master: 5187ac168d6552ca10a95869c1fd33c256e7746a
13 changes: 12 additions & 1 deletion trunk/sound/pci/hda/hda_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
struct hda_gen_spec *spec = codec->spec;
Expand Down Expand Up @@ -3937,7 +3941,10 @@ int snd_hda_gen_init(struct hda_codec *codec)
}
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)
{
snd_hda_gen_spec_free(codec->spec);
Expand All @@ -3947,6 +3954,10 @@ void snd_hda_gen_free(struct hda_codec *codec)
EXPORT_SYMBOL_HDA(snd_hda_gen_free);

#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)
{
struct hda_gen_spec *spec = codec->spec;
Expand Down

0 comments on commit 365832a

Please sign in to comment.