diff options
author | Cezary Rojewski <cezary.rojewski@intel.com> | 2022-02-14 13:14:03 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-02-21 12:56:36 +0300 |
commit | 17e0c4cbb748fca764ee184c50b60b3a7b0e0dc7 (patch) | |
tree | 02397cc32cbc30ccf98496ba08e7bb5d429ea4c6 /sound/pci/hda/hda_local.h | |
parent | 595511a3ab80d9ec6649bbf22a99bee169026fd1 (diff) | |
download | linux-17e0c4cbb748fca764ee184c50b60b3a7b0e0dc7.tar.xz |
ALSA: hda: Update and expose codec register procedures
With few changes, snd_hda_codec_register() and its
unregister-counterpart can be re-used by ASoC drivers. While at it,
provide kernel doc for the exposed functions.
Due to ALSA-device vs ASoC-component organization differences, new
'snddev_managed' argument is specified allowing for better control over
codec registration process.
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20220214101404.4074026-4-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 8621f576446b..4c52dfb615bc 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_register(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); |