projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
191d1f1
)
omap_hsmmc: clear interrupt status after init sequence
author
Adrian Hunter
<
[email protected]
>
Tue, 22 Sep 2009 23:44:56 +0000
(16:44 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 23 Sep 2009 14:39:35 +0000
(07:39 -0700)
Clear the interrupt status after sending the initialization sequence, as
specified in the TRM.
Signed-off-by: Adrian Hunter <
[email protected]
>
Acked-by: Matt Fleming <
[email protected]
>
Cc: Ian Molton <
[email protected]
>
Cc: "Roberto A. Foglietta" <
[email protected]
>
Cc: Jarkko Lavinen <
[email protected]
>
Cc: Denis Karpov <
[email protected]
>
Cc: Pierre Ossman <
[email protected]
>
Cc: Philip Langdale <
[email protected]
>
Cc: "Madhusudhan" <
[email protected]
>
Cc: <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/mmc/host/omap_hsmmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/omap_hsmmc.c
b/drivers/mmc/host/omap_hsmmc.c
index 305e5d26d7e7eab29882b81a80b135f587dedc68..325cf60c65e5793d6041eba2ed808d8f49dc8bc4 100644
(file)
--- a/
drivers/mmc/host/omap_hsmmc.c
+++ b/
drivers/mmc/host/omap_hsmmc.c
@@
-360,6
+360,10
@@
static void send_init_stream(struct mmc_omap_host *host)
OMAP_HSMMC_WRITE(host->base, CON,
OMAP_HSMMC_READ(host->base, CON) & ~INIT_STREAM);
+
+ OMAP_HSMMC_WRITE(host->base, STAT, STAT_CLEAR);
+ OMAP_HSMMC_READ(host->base, STAT);
+
enable_irq(host->irq);
}