summaryrefslogtreecommitdiff
path: root/linux/sound/oss/aci.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-08-17 01:02:33 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-08-17 01:02:33 -0300
commit09e0adf1930b630c6a3ba69462f86a7fe972b49f (patch)
tree3266868c3ecba087812a07d789fc79855f5a3260 /linux/sound/oss/aci.c
parent172776a908e4cc7840504bc0414984700f4b58c7 (diff)
downloadmediapointer-dvb-s2-09e0adf1930b630c6a3ba69462f86a7fe972b49f.tar.gz
mediapointer-dvb-s2-09e0adf1930b630c6a3ba69462f86a7fe972b49f.tar.bz2
Get rid of an ill-behaved msleep in i2c write
From: Jonathan Corbet <corbet@lwn.net> 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 'linux/sound/oss/aci.c')
0 files changed, 0 insertions, 0 deletions