OSDN Git Service

ALSA: hda: export snd_hda_codec_cleanup_for_unbind()
authorKai Vehmanen <kai.vehmanen@linux.intel.com>
Wed, 15 Jul 2020 17:45:50 +0000 (20:45 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 16 Jul 2020 19:59:12 +0000 (20:59 +0100)
commitcc1d0cd817bad5dab50732a6668a87ff3eac3b5c
tree9141bb66ba5dc149766b9e2c8119d692486cab0a
parenta3f6bf8e544ac5fbfe72a331343fb6264373d04d
ALSA: hda: export snd_hda_codec_cleanup_for_unbind()

To avoid duplicated code for cleanup, and match the already exported
snd_hda_codec_pcm_new(), also export snd_hda_codec_cleanup_for_unbind().

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20200715174551.3730165-2-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/hda_codec.h
sound/pci/hda/hda_codec.c