Browse Source

Merge remote-tracking branches 'asoc/fix/fsl-ssi' and 'asoc/fix/pxa' into asoc-linus

Mark Brown 11 years ago
parent
commit
6b0e233ae5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      sound/soc/fsl/fsl_ssi.c

+ 2 - 2
sound/soc/fsl/fsl_ssi.c

@@ -590,8 +590,8 @@ static int fsl_ssi_set_bclk(struct snd_pcm_substream *substream,
 		else
 			clkrate = clk_round_rate(ssi_private->baudclk, tmprate);
 
-		do_div(clkrate, factor);
-		afreq = (u32)clkrate / (i + 1);
+		clkrate /= factor;
+		afreq = clkrate / (i + 1);
 
 		if (freq == afreq)
 			sub = 0;