OSDN Git Service

ASoC: SOF: topology: remove useless code
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Fri, 9 Apr 2021 22:05:22 +0000 (15:05 -0700)
committerMark Brown <broonie@kernel.org>
Mon, 12 Apr 2021 16:06:45 +0000 (17:06 +0100)
commit7459f8b703db589e1fa6482449cd681a6a612189
tree091ded8923c6cfdb5671c4b12b75c03f86bef599
parentb2fe85790d8d67ae25af58ff94673afc6cb081d9
ASoC: SOF: topology: remove useless code

The patch "ASoC: SOF: Intel: hda: assign link DMA channel at run-time"
fixed the sof_link_hda_unload() to remove the call to the BE
hw_free op but left the rest of code that become redundant.

So, remove sof_link_hda_unload() along with the link_unload() op
entirely as it is not longer needed.

Reported-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20210409220522.1542865-1-ranjani.sridharan@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/topology.c