diff options
author | Peter Rosin <peda@lysator.liu.se> | 2010-11-10 15:55:05 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-11-11 02:03:29 +0100 |
commit | e2e9566230e0c93d89948cbc799a191d35383d09 (patch) | |
tree | 00726d2c5893d99d29ae525c8d93e293a9a73398 /sound/spi/at73c213.c | |
parent | fa2b30af84e84129b8d4cf955890ad167cc20cf0 (diff) | |
download | op-kernel-dev-e2e9566230e0c93d89948cbc799a191d35383d09.zip op-kernel-dev-e2e9566230e0c93d89948cbc799a191d35383d09.tar.gz |
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/spi/at73c213.c')
-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 1bc56b2..337a002 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) { |