summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorPeter Rosin <peda@lysator.liu.se>2010-11-10 15:55:05 +0100
committerTakashi Iwai <tiwai@suse.de>2010-11-11 02:03:29 +0100
commite2e9566230e0c93d89948cbc799a191d35383d09 (patch)
tree00726d2c5893d99d29ae525c8d93e293a9a73398 /sound
parentALSA: sound/pci/ctxfi/ctpcm.c: Remove potential for use after free (diff)
downloadlinux-e2e9566230e0c93d89948cbc799a191d35383d09.tar.xz
linux-e2e9566230e0c93d89948cbc799a191d35383d09.zip
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/spi/at73c213.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/spi/at73c213.c b/sound/spi/at73c213.c
index 1bc56b2b94e2..337a00241a1f 100644
--- a/sound/spi/at73c213.c
+++ b/sound/spi/at73c213.c
@@ -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) {