From: Devin Heitmueller Date: Tue, 7 Aug 2012 01:46:57 +0000 (-0300) Subject: [media] xc5000: properly report i2c write failures X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~3^2^2~541 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a3dabb15ef9039188464647113398ed95400318;p=pandora-kernel.git [media] xc5000: properly report i2c write failures The logic as written would *never* actually return an error condition, since the loop would run until the counter hit zero but the check was for a value less than zero. Signed-off-by: Devin Heitmueller Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed