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>
This commit is contained in:
Keyon Jie 2018-02-09 19:39:42 +08:00 committed by Liam Girdwood
parent 1edc69c7c0
commit 1532dfdad4
1 changed files with 3 additions and 0 deletions

View File

@ -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