Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5187ac16 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Add brief comments to exported snd_hda_gen_*_() functions



Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent dd5e7203
Loading
Loading
Loading
Loading
+12 −1
Original line number Diff line number Diff line
@@ -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;