media: em28xx: Ignore errors while reading from eeprom
commitb1e1d4532e073c4e6a47efd7e447fceb37528ad9
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 3 May 2017 02:12:22 +0000 (2 23:12 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 24 Jun 2017 18:43:51 +0000 (24 15:43 -0300)
treee68c3fb5c8871ae42f3aa58badf013d9b376dcef
parent66083b49bd337e5f4dfa168c145ca38f8bcbe522
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>
drivers/media/usb/em28xx/em28xx-i2c.c