diff mbox

spi: img-spfi: Remove udelay in soft reset

Message ID 1425312118-13952-1-git-send-email-sifan.naeem@imgtec.com (mailing list archive)
State Accepted
Commit 6e0050ec8e909a5ed7d062552cd4fd223d286687
Headers show

Commit Message

Sifan Naeem March 2, 2015, 4:01 p.m. UTC
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>
---
 drivers/spi/spi-img-spfi.c |    1 -
 1 file changed, 1 deletion(-)

Comments

Mark Brown March 3, 2015, 2:27 p.m. UTC | #1
On Mon, Mar 02, 2015 at 04:01:58PM +0000, Sifan Naeem wrote:
> Removing the udelay between setting and clearing the soft reset bit in
> the spfi control register as it is not required.

Applied, thanks.
diff mbox

Patch

diff --git a/drivers/spi/spi-img-spfi.c b/drivers/spi/spi-img-spfi.c
index c01567d..fde4b5d 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);
 }