commit | 0a3dabb15ef9039188464647113398ed95400318 | [log] [tgz] |
---|---|---|
author | Devin Heitmueller <dheitmueller@kernellabs.com> | Mon Aug 06 22:46:57 2012 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Thu Aug 09 20:33:13 2012 -0300 |
tree | 42a47cc31b843ed8e1755587f867336ac07b37fb | |
parent | 7c287f1849cd904c210608a6a7bcec055bcb1152 [diff] |
[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 <dheitmueller@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>