Message ID | 1388232976-20061-19-git-send-email-mchehab@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/media/usb/em28xx/em28xx-i2c.c b/drivers/media/usb/em28xx/em28xx-i2c.c index d972e2f67214..420fddf7da3a 100644 --- a/drivers/media/usb/em28xx/em28xx-i2c.c +++ b/drivers/media/usb/em28xx/em28xx-i2c.c @@ -209,11 +209,6 @@ retry: return ret; } msleep(5); - /* - * NOTE: do we really have to wait for success ? - * Never seen anything else than 0x00 or 0x10 - * (even with high payload) ... - */ } if (ret == 0x10) { @@ -221,7 +216,8 @@ retry: addr); return -ENODEV; } - em28xx_warn("write to i2c device at 0x%x timed out\n", addr); + em28xx_warn("write to i2c device at 0x%x timed out (ret=0x%02x)\n", + addr, ret); return -EIO; }