diff options
Diffstat (limited to 'sound/spi/at73c213.c')
-rw-r--r-- | sound/spi/at73c213.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/spi/at73c213.c b/sound/spi/at73c213.c index 8e3d9a6c7a3b..25c38afaee49 100644 --- a/sound/spi/at73c213.c +++ b/sound/spi/at73c213.c | |||
@@ -174,7 +174,7 @@ static int snd_at73c213_set_bitrate(struct snd_at73c213 *chip) | |||
174 | dac_rate_new = 8 * (ssc_rate / ssc_div); | 174 | dac_rate_new = 8 * (ssc_rate / ssc_div); |
175 | 175 | ||
176 | status = clk_round_rate(chip->board->dac_clk, dac_rate_new); | 176 | status = clk_round_rate(chip->board->dac_clk, dac_rate_new); |
177 | if (status < 0) | 177 | if (status <= 0) |
178 | return status; | 178 | return status; |
179 | 179 | ||
180 | /* Ignore difference smaller than 256 Hz. */ | 180 | /* Ignore difference smaller than 256 Hz. */ |