]> bbs.cooldavid.org Git - net-next-2.6.git/commit
spi/spi_s3c64xx: Increase dead reckoning time in wait_for_xfer()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 7 Sep 2010 15:37:52 +0000 (16:37 +0100)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 8 Sep 2010 16:00:15 +0000 (10:00 -0600)
commit9d8f86b56093d7b06d81d4063d5b9a4cbf887e75
treecb08f02760fb6cc5c34f7b1bdbb54aad0e001a70
parentd2a787fc57142ba8757142f1569603b4d0b714a4
spi/spi_s3c64xx: Increase dead reckoning time in wait_for_xfer()

For small transfers at high speeds the expected transfer time can easily
be well under 1ms, causing the delay in wait_for_xfer() to be only the
dead reckoning fudge factor of 5ms currently included. Experiments on
some of my systems shows that this is marginal for some transfers so
double it to 10ms.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Jassi Brar <jassi.brar@samsung.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi_s3c64xx.c