spi: hspi: fixup long delay time
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 27 May 2013 00:59:20 +0000 (17:59 -0700)
committerMark Brown <broonie@linaro.org>
Tue, 4 Jun 2013 17:51:40 +0000 (18:51 +0100)
commitbc2bfffc3866e8c87dde19d5619262a810a51ed8
tree031e9a2ff1291edd8ce693d2f2d9bb53a33d068f
parentf722406faae2d073cc1d01063d1123c35425939e
spi: hspi: fixup long delay time

Current HSPI driver is using msleep(20) on hspi_status_check_timeout(),
but it was too long delay for SPI device.
Bock-W board SPI access was too slow without this patch.
This patch uses udelay(10) for it.

Tested-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-sh-hspi.c