mirror of https://gitee.com/openkylin/linux.git
Merge remote-tracking branches 'asoc/fix/fsl-ssi' and 'asoc/fix/pxa' into asoc-linus
This commit is contained in:
commit
6b0e233ae5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue