提交 a09f383e 编写于 作者: K Kuninori Morimoto 提交者: Mark Brown

ASoC: rsrc-card: use asoc_simple_card_canonicalize_dailink()

Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 600ee208
......@@ -222,8 +222,10 @@ static int rsrc_card_parse_links(struct device_node *np,
}
}
/* Simple Card assumes platform == cpu */
dai_link->platform_of_node = dai_link->cpu_of_node;
ret = asoc_simple_card_canonicalize_dailink(dai_link);
if (ret < 0)
return ret;
dai_link->dpcm_playback = 1;
dai_link->dpcm_capture = 1;
dai_link->ops = &rsrc_card_ops;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册