mirror of https://github.com/thesofproject/sof.git
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:
parent
1edc69c7c0
commit
1532dfdad4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue