diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-12-28 14:42:47 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-01-10 12:10:07 +0400 |
commit | d20e4ed6d30c6ecee315eea0efb3449c3591d09e (patch) | |
tree | 618cb9da20c3ed822495338301b3eb77bc47efdc /drivers/media/usb/em28xx/em28xx-i2c.c | |
parent | d1b7213b480a42c9bc78938a1b3f4bc14089467f (diff) | |
download | linux-d20e4ed6d30c6ecee315eea0efb3449c3591d09e.tar.xz |
[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>
Diffstat (limited to 'drivers/media/usb/em28xx/em28xx-i2c.c')
0 files changed, 0 insertions, 0 deletions