aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/mxs/mxs-saif.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/mxs/mxs-saif.c')
-rw-r--r--sound/soc/mxs/mxs-saif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/mxs/mxs-saif.c b/sound/soc/mxs/mxs-saif.c
index c866ade28ad0..cd04eb7ee753 100644
--- a/sound/soc/mxs/mxs-saif.c
+++ b/sound/soc/mxs/mxs-saif.c
@@ -408,7 +408,7 @@ static int mxs_saif_hw_params(struct snd_pcm_substream *substream,
408 } 408 }
409 409
410 stat = __raw_readl(saif->base + SAIF_STAT); 410 stat = __raw_readl(saif->base + SAIF_STAT);
411 if (stat & BM_SAIF_STAT_BUSY) { 411 if (!saif->mclk_in_use && (stat & BM_SAIF_STAT_BUSY)) {
412 dev_err(cpu_dai->dev, "error: busy\n"); 412 dev_err(cpu_dai->dev, "error: busy\n");
413 return -EBUSY; 413 return -EBUSY;
414 } 414 }