summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorSifan Naeem <sifan.naeem@imgtec.com>2015-03-02 16:01:58 +0000
committerMark Brown <broonie@kernel.org>2015-03-03 14:27:01 +0000
commit6e0050ec8e909a5ed7d062552cd4fd223d286687 (patch)
treee29a70e1b0903b7a2dab3942b75cc5796a61551a /drivers/spi
parentc517d838eb7d07bbe9507871fab3931deccff539 (diff)
downloadlinux-6e0050ec8e909a5ed7d062552cd4fd223d286687.tar.gz
linux-6e0050ec8e909a5ed7d062552cd4fd223d286687.tar.xz
spi: img-spfi: Remove udelay in soft reset
Removing the udelay between setting and clearing the soft reset bit in the spfi control register as it is not required. Signed-off-by: Sifan Naeem <sifan.naeem@imgtec.com> Reviewed-by: Andrew Bresticker <abrestic@chromium.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-img-spfi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-img-spfi.c b/drivers/spi/spi-img-spfi.c
index c01567d53581..fde4b5dd40f2 100644
--- a/drivers/spi/spi-img-spfi.c
+++ b/drivers/spi/spi-img-spfi.c
@@ -134,7 +134,6 @@ static inline void spfi_stop(struct img_spfi *spfi)
static inline void spfi_reset(struct img_spfi *spfi)
{
spfi_writel(spfi, SPFI_CONTROL_SOFT_RESET, SPFI_CONTROL);
- udelay(1);
spfi_writel(spfi, 0, SPFI_CONTROL);
}