diff options
| author | Devin Heitmueller <dheitmueller@kernellabs.com> | 2012-08-06 22:46:57 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-09 20:33:13 -0300 |
| commit | 0a3dabb15ef9039188464647113398ed95400318 (patch) | |
| tree | 42a47cc31b843ed8e1755587f867336ac07b37fb /include/linux/moduleparam.h | |
| 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>
Diffstat (limited to 'include/linux/moduleparam.h')
0 files changed, 0 insertions, 0 deletions
