projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa2b30a
)
ALSA: AT73C213: Rectify misleading comment.
author
Peter Rosin
<peda@lysator.liu.se>
Wed, 10 Nov 2010 14:55:05 +0000
(15:55 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 11 Nov 2010 01:03:29 +0000
(
02:03
+0100)
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>
sound/spi/at73c213.c
patch
|
blob
|
history
diff --git
a/sound/spi/at73c213.c
b/sound/spi/at73c213.c
index 1bc56b2b94e29f9143baa9911f72fa962202d17a..337a00241a1f3a406506c4baad93e0f10a8ac7d8 100644
(file)
--- 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) {