diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-05-03 04:12:22 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-06-24 20:43:51 +0200 |
commit | b1e1d4532e073c4e6a47efd7e447fceb37528ad9 (patch) | |
tree | e68c3fb5c8871ae42f3aa58badf013d9b376dcef /drivers/media/usb/em28xx | |
parent | media: dib0700: fix error handling in dib0700_i2c_xfer_legacy() (diff) | |
download | linux-b1e1d4532e073c4e6a47efd7e447fceb37528ad9.tar.xz linux-b1e1d4532e073c4e6a47efd7e447fceb37528ad9.zip |
media: em28xx: Ignore errors while reading from eeprom
While testing support for Terratec H6 rev. 2, it was noticed
that reading from eeprom there causes a timeout error.
Apparently, this is due to the need of properly setting GPIOs.
In any case, the driver doesn't really require eeprom reading
to succeed, as this is currently used only for debug.
So, Ignore such errors.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Acked-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/usb/em28xx')
-rw-r--r-- | drivers/media/usb/em28xx/em28xx-i2c.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/usb/em28xx/em28xx-i2c.c b/drivers/media/usb/em28xx/em28xx-i2c.c index 8c472d5adb50..60b195c157b8 100644 --- a/drivers/media/usb/em28xx/em28xx-i2c.c +++ b/drivers/media/usb/em28xx/em28xx-i2c.c @@ -982,8 +982,6 @@ int em28xx_i2c_register(struct em28xx *dev, unsigned bus, dev_err(&dev->intf->dev, "%s: em28xx_i2_eeprom failed! retval [%d]\n", __func__, retval); - - return retval; } } |