]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit282f1cae7ba612d2d4eb0d209f6d1a2bfea61e47
tree3b78a85ec81410297de73f1f3dc04eb294768531
parented1747019dd2306c7f4cf2ab6811152dac8dfe53
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