]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
spi: img-spfi: Remove udelay in soft reset
authorSifan Naeem <sifan.naeem@imgtec.com>
Mon, 2 Mar 2015 16:01:58 +0000 (16:01 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 3 Mar 2015 14:27:01 +0000 (14:27 +0000)
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>
drivers/spi/spi-img-spfi.c

index c01567d53581c0dcdfc6fcb61e7f6e821d0e0b39..fde4b5dd40f28f30bc7976139c90580141da697f 100644 (file)
@@ -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);
 }