mirror of https://github.com/thesofproject/sof.git
ssp: cavs: decrease PLATFORM_SSP_DELAY
Decreases PLATFORM_SSP_DELAY for cAVS platforms. This delay is used after SSP start and before stop to let frame and clock synchronize. It was very long, so was decreased from 1/8 ms to 1/24 ms. Experiments show that it's still enough for slave clock to synchronize and to not lose first data sample. Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
This commit is contained in:
parent
b755fe92b7
commit
cac6e44007
|
@ -146,7 +146,7 @@ struct sof;
|
|||
#define SSP_FIFO_WATERMARK 8
|
||||
|
||||
/* minimal SSP port delay in cycles */
|
||||
#define PLATFORM_SSP_DELAY 2400
|
||||
#define PLATFORM_SSP_DELAY 800
|
||||
|
||||
/* timer driven scheduling start offset in microseconds */
|
||||
#define PLATFORM_TIMER_START_OFFSET 100
|
||||
|
|
|
@ -147,7 +147,7 @@ struct sof;
|
|||
#define SSP_FIFO_WATERMARK 8
|
||||
|
||||
/* minimal SSP port delay in cycles */
|
||||
#define PLATFORM_SSP_DELAY 3000
|
||||
#define PLATFORM_SSP_DELAY 1000
|
||||
|
||||
/* timer driven scheduling start offset in microseconds */
|
||||
#define PLATFORM_TIMER_START_OFFSET 100
|
||||
|
|
|
@ -147,7 +147,7 @@ struct sof;
|
|||
#define SSP_FIFO_WATERMARK 8
|
||||
|
||||
/* minimal SSP port delay in cycles */
|
||||
#define PLATFORM_SSP_DELAY 4800
|
||||
#define PLATFORM_SSP_DELAY 1600
|
||||
|
||||
/* timer driven scheduling start offset in microseconds */
|
||||
#define PLATFORM_TIMER_START_OFFSET 100
|
||||
|
|
|
@ -150,7 +150,7 @@ struct sof;
|
|||
#define SSP_FIFO_WATERMARK 8
|
||||
|
||||
/* minimal SSP port delay in cycles */
|
||||
#define PLATFORM_SSP_DELAY 3000
|
||||
#define PLATFORM_SSP_DELAY 1000
|
||||
|
||||
/* timer driven scheduling start offset in microseconds */
|
||||
#define PLATFORM_TIMER_START_OFFSET 100
|
||||
|
|
Loading…
Reference in New Issue