upstream: [media] em28xx: use a better value for I2C timeouts
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 28 Dec 2013 10:42:47 +0000 (07:42 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:55:37 +0000 (11:55 +0900)
commit1b6947b01442f558b0218b73563b89969dbf5545
tree77a67d2188aba5fc8cae6b1833b95280a0f56cf0
parent0cc34304454be9c2101b0cf6aa2c37fa515b766a
upstream: [media] em28xx: use a better value for I2C timeouts

In the lack of a better spec, let's assume the timeout
values compatible with SMBus spec:
http://smbus.org/specs/smbus110.pdf

at chapter 8 - Electrical Characteristics of SMBus devices

Ok, SMBus is a subset of I2C, and not all devices will be
following it, but the timeout value before this patch was not
even following the spec.

So, while we don't have a better guess for it, use 35 + 1
ms as the timeout.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/em28xx/em28xx.h