Commit e2e95662 authored by Peter Rosin's avatar Peter Rosin Committed by Takashi Iwai

ALSA: AT73C213: Rectify misleading comment.

The Atmel SSC can divide by even numbers, not only powers of two.
Signed-off-by: default avatarPeter Rosin <peda@axentia.se>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent fa2b30af
...@@ -155,7 +155,7 @@ static int snd_at73c213_set_bitrate(struct snd_at73c213 *chip) ...@@ -155,7 +155,7 @@ static int snd_at73c213_set_bitrate(struct snd_at73c213 *chip)
if (max_tries < 1) if (max_tries < 1)
max_tries = 1; max_tries = 1;
/* ssc_div must be a power of 2. */ /* ssc_div must be even. */
ssc_div = (ssc_div + 1) & ~1UL; ssc_div = (ssc_div + 1) & ~1UL;
if ((ssc_rate / (ssc_div * 2 * 16)) < BITRATE_MIN) { if ((ssc_rate / (ssc_div * 2 * 16)) < BITRATE_MIN) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment