From 365832a8ceba9910accec19bf3c06516eef52526 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 7 Jan 2013 12:52:16 +0100 Subject: [PATCH] --- yaml --- r: 353098 b: refs/heads/master c: 5187ac168d6552ca10a95869c1fd33c256e7746a h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/hda_generic.c | 13 ++++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 9cc732e99706..c800b38ccece 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: dd5e72030429edfcdee7c0fcdce702ecc81a739e +refs/heads/master: 5187ac168d6552ca10a95869c1fd33c256e7746a diff --git a/trunk/sound/pci/hda/hda_generic.c b/trunk/sound/pci/hda/hda_generic.c index c20df5753cda..11436c115953 100644 --- a/trunk/sound/pci/hda/hda_generic.c +++ b/trunk/sound/pci/hda/hda_generic.c @@ -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; @@ -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); @@ -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;