diff options
author | Peter Rosin <peda@lysator.liu.se> | 2010-11-10 17:55:05 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-11-11 04:03:29 +0300 |
commit | e2e9566230e0c93d89948cbc799a191d35383d09 (patch) | |
tree | 00726d2c5893d99d29ae525c8d93e293a9a73398 /sound | |
parent | fa2b30af84e84129b8d4cf955890ad167cc20cf0 (diff) | |
download | linux-e2e9566230e0c93d89948cbc799a191d35383d09.tar.xz |
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.c | 2 |
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) { |