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/ssp.h>
|
||||||
#include <reef/alloc.h>
|
#include <reef/alloc.h>
|
||||||
#include <reef/interrupt.h>
|
#include <reef/interrupt.h>
|
||||||
|
#include <config.h>
|
||||||
|
|
||||||
/* tracing */
|
/* tracing */
|
||||||
#define trace_ssp(__e) trace_event(TRACE_CLASS_SSP, __e)
|
#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;
|
ret = -EINVAL;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
#elif CONFIG_APOLLOLAKE
|
||||||
|
sscr0 |= SSCR0_MOD | SSCR0_ACS | SSCR0_ECS;
|
||||||
#else
|
#else
|
||||||
sscr0 |= SSCR0_MOD | SSCR0_ACS;
|
sscr0 |= SSCR0_MOD | SSCR0_ACS;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue