ALSA: hda: Expose codec cleanup and power-save functions
authorCezary Rojewski <cezary.rojewski@intel.com>
Mon, 14 Feb 2022 10:14:04 +0000 (11:14 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 21 Feb 2022 09:56:38 +0000 (10:56 +0100)
commitbb682f7a91af08f1fdb669d3911978d7166a65d1
tree3b78a85ec81410297de73f1f3dc04eb294768531
parent17e0c4cbb748fca764ee184c50b60b3a7b0e0dc7
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>
include/sound/hda_codec.h
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_local.h