mirror of https://github.com/thesofproject/sof.git
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:
parent
966e37bc75
commit
5cd4e68c11
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue