* [PATCH] spi: img-spfi: Remove udelay in soft reset
@ 2015-03-02 16:01 Sifan Naeem
2015-03-03 14:27 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Sifan Naeem @ 2015-03-02 16:01 UTC (permalink / raw)
To: broonie, abrestic; +Cc: linux-spi, linux-kernel, Sifan Naeem
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(-)
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);
}
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] spi: img-spfi: Remove udelay in soft reset
2015-03-02 16:01 [PATCH] spi: img-spfi: Remove udelay in soft reset Sifan Naeem
@ 2015-03-03 14:27 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2015-03-03 14:27 UTC (permalink / raw)
To: Sifan Naeem; +Cc: abrestic, linux-spi, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 203 bytes --]
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.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-03 14:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-02 16:01 [PATCH] spi: img-spfi: Remove udelay in soft reset Sifan Naeem
2015-03-03 14:27 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).