Browse Source

ALSA: AT73C213: Rectify misleading comment.

The Atmel SSC can divide by even numbers, not only powers of two.

Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
imx_3.10.17_1.0.0_ga
Peter Rosin 10 years ago
committed by Takashi Iwai
parent
commit
e2e9566230
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      sound/spi/at73c213.c

+ 1
- 1
sound/spi/at73c213.c View File

@ -155,7 +155,7 @@ static int snd_at73c213_set_bitrate(struct snd_at73c213 *chip)
if (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;
if ((ssc_rate / (ssc_div * 2 * 16)) < BITRATE_MIN) {


Loading…
Cancel
Save