summaryrefslogtreecommitdiff
path: root/drivers/media/usb/em28xx/em28xx-i2c.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2013-12-28 14:42:47 +0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-10 12:10:07 +0400
commitd20e4ed6d30c6ecee315eea0efb3449c3591d09e (patch)
tree618cb9da20c3ed822495338301b3eb77bc47efdc /drivers/media/usb/em28xx/em28xx-i2c.c
parentd1b7213b480a42c9bc78938a1b3f4bc14089467f (diff)
downloadlinux-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