diff --git a/sound/soc/amlogic/auge/tdm.c b/sound/soc/amlogic/auge/tdm.c index 0e0886d6010a..c6b5141f7bfc 100644 --- a/sound/soc/amlogic/auge/tdm.c +++ b/sound/soc/amlogic/auge/tdm.c @@ -32,6 +32,7 @@ #include #include +#include #include "ddr_mngr.h" #include "tdm_hw.h" @@ -946,7 +947,8 @@ static int aml_tdm_platform_probe(struct platform_device *pdev) } /* complete mclk for tdm */ - meson_clk_measure((1<<16) | 0x67); + if (get_meson_cpu_version(MESON_CPU_VERSION_LVL_MINOR) == 0xa) + meson_clk_measure((1<<16) | 0x67); /* parse DTS configured ddr */ ret = of_property_read_u32(node, "tdm_from_ddr",