Skip to content

Commit e2e9566

Browse files
peda-rtiwai
authored andcommitted
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>
1 parent fa2b30a commit e2e9566

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎sound/spi/at73c213.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ static int snd_at73c213_set_bitrate(struct snd_at73c213 *chip)
155155
if (max_tries < 1)
156156
max_tries = 1;
157157

158-
/* ssc_div must be a power of 2. */
158+
/* ssc_div must be even. */
159159
ssc_div = (ssc_div + 1) & ~1UL;
160160

161161
if ((ssc_rate / (ssc_div * 2 * 16)) < BITRATE_MIN) {

0 commit comments

Comments
 (0)