From 1532dfdad4f877991fceff6bbe232ae1e37cb145 Mon Sep 17 00:00:00 2001 From: Keyon Jie Date: Fri, 9 Feb 2018 19:39:42 +0800 Subject: [PATCH] apl-ssp: use external clock for APL at the moment We only enable external Audio Cardinal 24.576MHz clock for SSP at the moment. Signed-off-by: Keyon Jie --- src/drivers/apl-ssp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/drivers/apl-ssp.c b/src/drivers/apl-ssp.c index a75abe2cc..f0faba938 100644 --- a/src/drivers/apl-ssp.c +++ b/src/drivers/apl-ssp.c @@ -36,6 +36,7 @@ #include #include #include +#include /* tracing */ #define trace_ssp(__e) trace_event(TRACE_CLASS_SSP, __e) @@ -231,6 +232,8 @@ static inline int ssp_set_config(struct dai *dai, ret = -EINVAL; goto out; } +#elif CONFIG_APOLLOLAKE + sscr0 |= SSCR0_MOD | SSCR0_ACS | SSCR0_ECS; #else sscr0 |= SSCR0_MOD | SSCR0_ACS; #endif