Skip to content

Commit

Permalink
ALSA: AT73C213: Rectify misleading comment.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Rosin authored and Takashi Iwai committed Nov 11, 2010
1 parent fa2b30a commit e2e9566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/spi/at73c213.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e2e9566

Please sign in to comment.