aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/ov7670.c
diff options
context:
space:
mode:
authorDaniel Drake2010-09-24 14:17:17 -0300
committerMauro Carvalho Chehab2010-10-21 01:17:04 -0200
commitdf2b9b0f9c02689ce3b3f0b5dbc6c9b272bbe1ab (patch)
treecb36b0bd7fde50dd3042bfe38d58a118790dc69d /drivers/media/video/ov7670.c
parenta716e9d75f04ff71fb5e391a7a189b6f1b032bbc (diff)
[media] cafe_ccic: Fix hang in command write processing
This patch, which basically reverts 6d77444ac, fixes an occasional on-boot or on-capture hang on the XO-1 laptop. It seems like the cafe hardware is flakier than we thought and that in some cases, the commands get executed but are never reported as completed (even if we substantially increase the delays before reading registers). Reintroduce the 1-second CAFE_SMBUS_TIMEOUT to catch and avoid this strange hardware bug. Signed-off-by: Daniel Drake <dsd@laptop.org> Acked-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/ov7670.c')
0 files changed, 0 insertions, 0 deletions