Skip to content

Commit

Permalink
Merge remote-tracking branches 'asoc/fix/fsl-ssi' and 'asoc/fix/pxa' …
Browse files Browse the repository at this point in the history
…into asoc-linus
  • Loading branch information
Mark Brown committed Jun 17, 2014
3 parents 6953055 + acf2c60 + 5ba4059 commit 6b0e233
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/soc/fsl/fsl_ssi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6b0e233

Please sign in to comment.