Revert "temporary work-around for not being able to read sysclk from dts for ac10x"

This reverts commit 138d22226e.
This commit is contained in:
Hin-Tak Leung 2020-09-14 14:26:40 +01:00 committed by turmary
parent f4f303f9bd
commit 9722cb01e4

View file

@ -457,8 +457,6 @@ static int seeed_voice_card_dai_link_of(struct device_node *node,
#else #else
ret = asoc_simple_parse_clk_codec(dev, codec, dai_link, codec_dai); ret = asoc_simple_parse_clk_codec(dev, codec, dai_link, codec_dai);
#endif #endif
if (!strncmp(dai_link->codecs->dai_name, "ac10", 4))
codec_dai->sysclk = 24000000;
if (ret < 0) if (ret < 0)
goto dai_link_of_err; goto dai_link_of_err;