X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=sound%2Fsoc%2Fmxs%2Fmxs-saif.c;h=13631003cb7c6796d49f5278834eb5924aea294c;hb=88f183484a9419910737cde211f7dbb184171d66;hp=a6c7b8d87cd2f15198334840b9013980f87313c0;hpb=58dd2b5be1db1c6b99450768f91886396583957c;p=cascardo%2Flinux.git diff --git a/sound/soc/mxs/mxs-saif.c b/sound/soc/mxs/mxs-saif.c index a6c7b8d87cd2..13631003cb7c 100644 --- a/sound/soc/mxs/mxs-saif.c +++ b/sound/soc/mxs/mxs-saif.c @@ -418,7 +418,7 @@ static int mxs_saif_hw_params(struct snd_pcm_substream *substream, } stat = __raw_readl(saif->base + SAIF_STAT); - if (stat & BM_SAIF_STAT_BUSY) { + if (!saif->mclk_in_use && (stat & BM_SAIF_STAT_BUSY)) { dev_err(cpu_dai->dev, "error: busy\n"); return -EBUSY; }