media: em28xx: adjust I2C timeout according with I2C speed
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 1 Mar 2018 17:54:06 +0000 (12:54 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Mar 2018 09:50:41 +0000 (04:50 -0500)
commitcf68c22f106369f6124342c58c4a50f07edd2174
tree33c4836505f94a9c3f1e309e6b6471497505773a
parent0108ae7fd2972707cde3fafa6fec555c50c64e28
media: em28xx: adjust I2C timeout according with I2C speed

If the I2C speed is too slow, it should wait more for an
answer.

While here, change disconnected type from char to unsigned
int, just like all other bitmask fields there at em28xx
struct.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/em28xx/em28xx-cards.c
drivers/media/usb/em28xx/em28xx-i2c.c
drivers/media/usb/em28xx/em28xx.h