MLK-18182: ASoC: fsl_asrc: increase the retry times
authorShengjiu Wang <shengjiu.wang@nxp.com>
Mon, 17 Dec 2018 08:19:32 +0000 (16:19 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commitf32670c6a3ea0cb2c4f254f9e5ca88d36d65607e
treebcea7830d0f7c5746d6ad95236839546eaabc0ad
parent2ec9a09a1888806bc0ed6f86a273e84f28464f0a
MLK-18182: ASoC: fsl_asrc: increase the retry times

When 3 asrc pair are working in parallel, there will be
error log randomly

output DMA task timeout
fsl-asrc 2034000.asrc: Pair B: failed to process buffer: -62

The reason is that the initialization is not finished for
some pair, the prefill data is failed to be input in FIFO.

The patch is to increase the retry times to make sure that
initialization is success.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
(cherry picked from commit 85e0a5be4c11c9efeccc893e4c0e1f6b4e90fa01)
sound/soc/fsl/fsl_asrc.c