mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
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
Block a user