summaryrefslogtreecommitdiff
path: root/lib/libcrc32c.c
diff options
context:
space:
mode:
authorKevin Wells <wellsk40@gmail.com>2010-03-17 01:55:36 +0300
committerBen Dooks <ben-linux@fluff.org>2010-04-20 04:16:57 +0400
commitbe80dbaa3ed64337693be58fb2f3808e78911ba6 (patch)
tree0fd671b707e584ac7cedf4166063b7185d620fa4 /lib/libcrc32c.c
parent7c6bd2010fced38444c9fd658f4c6ce61bd185bf (diff)
downloadlinux-be80dbaa3ed64337693be58fb2f3808e78911ba6.tar.xz
i2c-pnx: Limit maximum divider to 1023
Limit maximum divider to 0x3ff to divider computations. On high I2C parent clock rates, the divider can exceed 0x3ff. This will help prevent some very odd clock rates. Signed-off-by: Kevin Wells <wellsk40@gmail.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'lib/libcrc32c.c')
0 files changed, 0 insertions, 0 deletions