diff options
author | Jonathan Corbet <corbet@lwn.net> | 2007-08-17 01:02:33 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-08-20 12:18:04 -0300 |
commit | 6d77444aca298b43a88086be446f943cd0442ef7 (patch) | |
tree | 3d0b4c4834fcd1048e4f80c5f60847efbe102fdf /drivers/ata/libata-core.c | |
parent | 01659f2a0067d855089811529fa596cbc40f1e75 (diff) | |
download | talos-op-linux-6d77444aca298b43a88086be446f943cd0442ef7.tar.gz talos-op-linux-6d77444aca298b43a88086be446f943cd0442ef7.zip |
V4L/DVB (6027): Get rid of an ill-behaved msleep in i2c write
Configuring the OLPC camera requires something over 150 register
writes. Unfortunately, querying the CAFE i2c controller too
soon after a write causes the hardware to flake. The problem had
been "solved" with an msleep() call, but, between the number of
registers and how msleep() behaves, that resulted in a 3-second
delay on camera initialization. Instead, we hand-code a wait for
the completion interrupt which avoids reading the status registers.
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/ata/libata-core.c')
0 files changed, 0 insertions, 0 deletions