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: NDan Carpenter <error27@gmail.com> Signed-off-by: NBen Dooks <ben-linux@fluff.org>
Showing
想要评论请 注册 或 登录