Skip to content

Commit b446a9c

Browse files
author
Fox Snowpatch
committed
1 parent 7170d5d commit b446a9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/fsl/fsl_easrc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1996,7 +1996,7 @@ static int fsl_easrc_m2m_calc_out_len(struct fsl_asrc_pair *pair, int input_buff
19961996
/* right shift 12 bit to make ratio in 32bit space */
19971997
val2 = (u64)in_samples << (frac_bits - 12);
19981998
val1 = val1 >> 12;
1999-
do_div(val2, val1);
1999+
do_div(val2, (u32)val1);
20002000
out_samples = val2;
20012001

20022002
out_length = out_samples * out_width * channels;

0 commit comments

Comments
 (0)