diff options
author | Rakesh Ughreja <rakesh.a.ughreja@intel.com> | 2018-06-01 22:53:56 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-06-28 07:33:29 +0200 |
commit | 24494d3f939774c3c21d78b5e95d37f9e74d154c (patch) | |
tree | d35dd27ea7111cf7b594812ccf22d0cf051db04f /sound/hda/ext | |
parent | f8a7fe1aea215e25eaf3bf04dff66fc7621ec9d7 (diff) | |
download | talos-obmc-linux-24494d3f939774c3c21d78b5e95d37f9e74d154c.tar.gz talos-obmc-linux-24494d3f939774c3c21d78b5e95d37f9e74d154c.zip |
ALSA: hda: split snd_hda_codec_new function
Split snd_hda_codec_new into two separate functions.
snd_hda_codec_device_init allocates memory and registers with bus.
snd_hda_codec_device_new initialializes the fields and performs
snd_device_new. This enables reuse of legacy HDA codec drivers as ASoC
codec drivers.
In addition mark some functions with EXPORT_SYMBOL_GPL so that it can
be called by ASoC wrapper around the legacy HDA driver (hdac_hda).
Signed-off-by: Rakesh Ughreja <rakesh.a.ughreja@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/hda/ext')
0 files changed, 0 insertions, 0 deletions