Commit e2a19ac6 authored by Xiubo Li's avatar Xiubo Li Committed by Mark Brown

ASoC: simple-card: Fix the sysclk selection.

For spdif there is no need to do the sysclk setting.
Signed-off-by: default avatarXiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 71467e46
......@@ -106,11 +106,7 @@ asoc_simple_card_sub_parse_of(struct device_node *np,
&dai->sysclk);
} else {
clk = of_clk_get(*node, 0);
if (IS_ERR(clk)) {
ret = PTR_ERR(clk);
goto parse_error;
}
if (!IS_ERR(clk))
dai->sysclk = clk_get_rate(clk);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment