aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2021-04-09 15:01:21 -0700
committerMark Brown <broonie@kernel.org>2021-04-12 17:05:55 +0100
commit4c1cc83fcc7e02f6f6f76da2ea66af86a95fd675 (patch)
treea02c04a2813be7f3fc19ac57462babfdc7649bc6 /include/sound
parentASoC: SOF: pcm: export snd_pcm_dai_link_fixup (diff)
downloadlinux-dev-4c1cc83fcc7e02f6f6f76da2ea66af86a95fd675.tar.xz
linux-dev-4c1cc83fcc7e02f6f6f76da2ea66af86a95fd675.zip
ASOC: SOF: simplify nocodec mode
Replace ugly #if (!IS_ENABLED) by if (!IS_ENABLED), remove cross-module dependencies and use classic mechanism to pass information to the machine driver. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Daniel Baluta <daniel.baluta@gmail.com> Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Link: https://lore.kernel.org/r/20210409220121.1542362-7-ranjani.sridharan@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/sof.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/sound/sof.h b/include/sound/sof.h
index b93bb8038080..502ed9b8d6a1 100644
--- a/include/sound/sof.h
+++ b/include/sound/sof.h
@@ -100,9 +100,6 @@ struct sof_dev_desc {
const struct snd_sof_dsp_ops *ops;
};
-int sof_nocodec_setup(struct device *dev, const struct snd_sof_dsp_ops *ops,
- int (*pcm_dai_link_fixup)(struct snd_soc_pcm_runtime *rtd,
- struct snd_pcm_hw_params *params));
int sof_dai_get_mclk(struct snd_soc_pcm_runtime *rtd);
#endif