From: Dan Carpenter Date: Wed, 7 Apr 2010 09:22:58 +0000 (+0300) Subject: i2c-stu300: off by one issue X-Git-Tag: v2.6.34-rc6~71^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42df64b1f83fa9b786067a0b5a3aca0fbb2d8db8;p=pandora-kernel.git i2c-stu300: off by one issue If we don't find the correct rate, we want to end the loop with "i" pointing to the last element in the array. Signed-off-by: Dan Carpenter Signed-off-by: Ben Dooks --- Reading git-diff-tree failed