dai: don't set values we won't use

we are setting the value but have paths that don't use it and always set
on paths that do use it, lets remove the double write.

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
This commit is contained in:
Curtis Malainey 2021-04-20 12:54:08 -07:00 committed by Liam Girdwood
parent 966e37bc75
commit 5cd4e68c11
1 changed files with 1 additions and 1 deletions

View File

@ -688,7 +688,7 @@ static int dai_config_dma_channel(struct comp_dev *dev, struct sof_ipc_dai_confi
static int dai_config(struct comp_dev *dev, struct sof_ipc_dai_config *config)
{
struct dai_data *dd = comp_get_drvdata(dev);
int ret = 0;
int ret;
comp_info(dev, "dai_config() dai type = %d index = %d dd %p",
config->type, config->dai_index, dd);