aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memory-failure.c
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2009-12-21 09:28:30 -0500
committerBen Dooks <ben-linux@fluff.org>2009-12-24 01:24:48 +0000
commitac07fb4dc1908d300f50fa711982c9d750eb59f7 (patch)
tree9a3e6149726b63a74d141bb4fe86b7fb3399435f /mm/memory-failure.c
parentc9f937e4a3f4ebf9924ec21d80632e5eb61d949c (diff)
downloadkernel_samsung_smdk4412-ac07fb4dc1908d300f50fa711982c9d750eb59f7.zip
kernel_samsung_smdk4412-ac07fb4dc1908d300f50fa711982c9d750eb59f7.tar.gz
kernel_samsung_smdk4412-ac07fb4dc1908d300f50fa711982c9d750eb59f7.tar.bz2
i2c-bfin-twi: fix CLKDIV calculation
Calculation of the CLKDIV speed setting should be done using base 10 math rather than base 2. We also avoid exceeding the spec due to integer truncation and a 50% duty cycle. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'mm/memory-failure.c')
0 files changed, 0 insertions, 0 deletions