summaryrefslogtreecommitdiff
path: root/sound/sound_core.c
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-09-13 13:33:14 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-09-14 01:41:51 +0400
commit53604dbe1371c3c4458c2d741adbd8cfd8fe8e79 (patch)
tree93d032d0948f081174401cd755b68ed3c479bc6b /sound/sound_core.c
parentd7a3e4959c28bccc25dd33315809ffcf40f7493e (diff)
downloadlinux-53604dbe1371c3c4458c2d741adbd8cfd8fe8e79.tar.xz
spi_mpc83xx: fix clockrate calculation for low speed
Commit a61f5345 (spi_mpc83xx clockrate fixes) broke clockrate calculation for low speeds. SPMODE_DIV16 should be set if the divider is higher than 64, not only if the divider gets clipped to 1024. Furthermore, the clipping check was off by a factor 16 as well. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound/sound_core.c')
0 files changed, 0 insertions, 0 deletions