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:
Tomasz Lauda 2019-06-06 12:51:05 +02:00 committed by Janusz Jankowski
parent b755fe92b7
commit cac6e44007
4 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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

View File

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