summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-06-04 19:52:04 +0200
committerMark Brown <broonie@linaro.org>2013-06-04 19:52:04 +0200
commit2570ce2a92608e613669fd40f9d3ee4b8384b0d4 (patch)
treecc1d22602c76e24aea2eb8e16ede4c213451fbcc /drivers/spi
parentMerge remote-tracking branch 'spi/fix/core' into spi-linus (diff)
parentspi: hspi: fixup long delay time (diff)
downloadlinux-2570ce2a92608e613669fd40f9d3ee4b8384b0d4.tar.xz
linux-2570ce2a92608e613669fd40f9d3ee4b8384b0d4.zip
Merge remote-tracking branch 'spi/fix/hspi' into spi-linus
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-sh-hspi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-sh-hspi.c b/drivers/spi/spi-sh-hspi.c
index 60cfae51c713..eab593eaaafa 100644
--- a/drivers/spi/spi-sh-hspi.c
+++ b/drivers/spi/spi-sh-hspi.c
@@ -89,7 +89,7 @@ static int hspi_status_check_timeout(struct hspi_priv *hspi, u32 mask, u32 val)
if ((mask & hspi_read(hspi, SPSR)) == val)
return 0;
- msleep(20);
+ udelay(10);
}
dev_err(hspi->dev, "timeout\n");