summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorViorel Suman <viorel.suman@nxp.com>2019-06-18 16:16:19 +0300
committerViorel Suman <viorel.suman@nxp.com>2019-07-04 17:04:40 +0300
commit0202e4297ee40dcadd67d7bb5cf86262b9389436 (patch)
treefebe8961385cb1e73bdc4efd0e2ff2ebae1f567f /sound
parent70f7f85516bf2f439cbae6b2dc3346d249c1fc9f (diff)
MLK-21957-1: ASoC: fsl_sai: remove reset code from dai_probe
SAI software reset is done in runtime resume, there is no need to do it in fsl_sai_dai_probe. Signed-off-by: Viorel Suman <viorel.suman@nxp.com> Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/fsl/fsl_sai.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c
index 673c84c2bb29..f8d928793c5e 100644
--- a/sound/soc/fsl/fsl_sai.c
+++ b/sound/soc/fsl/fsl_sai.c
@@ -999,13 +999,6 @@ static int fsl_sai_dai_probe(struct snd_soc_dai *cpu_dai)
struct fsl_sai *sai = dev_get_drvdata(cpu_dai->dev);
unsigned char offset = sai->soc->reg_offset;
- /* Software Reset for both Tx and Rx */
- regmap_write(sai->regmap, FSL_SAI_TCSR(offset), FSL_SAI_CSR_SR);
- regmap_write(sai->regmap, FSL_SAI_RCSR(offset), FSL_SAI_CSR_SR);
- /* Clear SR bit to finish the reset */
- regmap_write(sai->regmap, FSL_SAI_TCSR(offset), 0);
- regmap_write(sai->regmap, FSL_SAI_RCSR(offset), 0);
-
regmap_update_bits(sai->regmap, FSL_SAI_TCR1(offset),
sai->soc->fifo_depth - 1,
sai->soc->fifo_depth - FSL_SAI_MAXBURST_TX);