[Sound-open-firmware] [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 yang.jie@linux.intel.com --- 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 a75abe2..f0faba9 100644 --- a/src/drivers/apl-ssp.c +++ b/src/drivers/apl-ssp.c @@ -36,6 +36,7 @@ #include <reef/ssp.h> #include <reef/alloc.h> #include <reef/interrupt.h> +#include <config.h>
/* 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
On Fri, 2018-02-09 at 19:39 +0800, Keyon Jie wrote:
We only enable external Audio Cardinal 24.576MHz clock for SSP at the moment.
Signed-off-by: Keyon Jie yang.jie@linux.intel.com
src/drivers/apl-ssp.c | 3 +++ 1 file changed, 3 insertions(+)
Applied.
Thanks Liam
participants (2)
-
Keyon Jie
-
Liam Girdwood