Merge tag 'sound-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai...
[sfrench/cifs-2.6.git] / sound / soc / codecs / tlv320dac33.c
index d905e03aaec7b0fb59696309cc0bf000f6d68183..48572d66cb3bf02f5a84eabcff9d6c0173e13bce 100644 (file)
@@ -1071,7 +1071,7 @@ static void dac33_calculate_times(struct snd_pcm_substream *substream,
                         */
                        dac33->nsample = period_size *
                                ((dac33->alarm_threshold / period_size) +
-                               (dac33->alarm_threshold % period_size ?
+                                ((dac33->alarm_threshold % period_size) ?
                                1 : 0));
                else if (period_size > nsample_limit)
                        dac33->nsample = nsample_limit;