From: Michael Hennerich Date: Mon, 18 May 2009 12:14:41 +0000 (-0400) Subject: i2c: Blackfin TWI: make sure we don't end up with a CLKDIV=0 X-Git-Tag: v2.6.31-rc1~348^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9528d1c7a541b481a0e80301dc8d545848104023;p=pandora-kernel.git i2c: Blackfin TWI: make sure we don't end up with a CLKDIV=0 Make sure we don't end up with an invalid CLKDIV=0 in case someone specifies 20kHz SCL or less (5 * 1024 / 20 = 0x100). Signed-off-by: Michael Hennerich Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu [ben-linux@fluff.org: shortened subject line] Signed-off-by: Ben Dooks --- Reading git-diff-tree failed