diff options
author | Cezary Rojewski <cezary.rojewski@intel.com> | 2022-02-14 13:14:04 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-02-21 12:56:38 +0300 |
commit | bb682f7a91af08f1fdb669d3911978d7166a65d1 (patch) | |
tree | 3b78a85ec81410297de73f1f3dc04eb294768531 /sound/pci/hda/hda_local.h | |
parent | 17e0c4cbb748fca764ee184c50b60b3a7b0e0dc7 (diff) | |
download | linux-bb682f7a91af08f1fdb669d3911978d7166a65d1.tar.xz |
ALSA: hda: Expose codec cleanup and power-save functions
With few changes, snd_hda_codec_set_power_save() and
snd_hda_codec_cleanup_for_unbind() can be re-used by ASoC drivers.
While at it, provide kernel doc for the exposed functions.
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20220214101404.4074026-5-cezary.rojewski@intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_local.h')
-rw-r--r-- | sound/pci/hda/hda_local.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h index 4c52dfb615bc..aca592651870 100644 --- a/sound/pci/hda/hda_local.h +++ b/sound/pci/hda/hda_local.h @@ -135,7 +135,6 @@ int __snd_hda_add_vmaster(struct hda_codec *codec, char *name, #define snd_hda_add_vmaster(codec, name, tlv, followers, suffix, access) \ __snd_hda_add_vmaster(codec, name, tlv, followers, suffix, true, access, NULL) int snd_hda_codec_reset(struct hda_codec *codec); -void snd_hda_codec_cleanup_for_unbind(struct hda_codec *codec); void snd_hda_codec_disconnect_pcms(struct hda_codec *codec); #define snd_hda_regmap_sync(codec) snd_hdac_regmap_sync(&(codec)->core) |