From: Jarkko Lavinen <[EMAIL PROTECTED]>
When a card is removed while it is being accessed, a command can get stuck so
that no timeout or end of command interrupt ever occurs. The command getting
stuck is almost always CDM12, but also the other commands can get stuck. Catch
a stuck command with a
From: Juha Yrjola <[EMAIL PROTECTED]>
General code cleanup, modifications at some dev_* functions and
other hacks at mmc_omap_irq() for MMC multislot support.
Signed-off-by: Juha Yrjola <[EMAIL PROTECTED]>
Signed-off-by: Carlos Eduardo Aguiar <[EMAIL PROTECTED]>
Signed-off-by: Tony Lindgren <[EMA
From: Jarkko Lavinen <[EMAIL PROTECTED]>
Abort failed command from workqueue rather than from an interrupt,
allowing longer delays in abortion.
Signed-off-by: Jarkko Lavinen <[EMAIL PROTECTED]>
---
drivers/mmc/host/omap.c | 82 ---
1 files changed, 4
From: Jarkko Lavinen <[EMAIL PROTECTED]>
Use work queues for starting new commands instead of starting them
directly from irq handler. The command scheduling needs to be delayed
a bit for some cards which should not be done from an interrupt.
Signed-off-by: Jarkko Lavinen <[EMAIL PROTECTED]>
---
From: Jarkko Lavinen <[EMAIL PROTECTED]>
The cover waitqueue is occasionally scheduled twice from timer
and the interrupt and oops follows. It would have been possible
to fix this problem with spinlocks but using tasklet was a dropin
sloution with no need for locking.
This path also adds some cle
From: Kyungmin Park <[EMAIL PROTECTED]>
If the get_cover_state is not set, it occurs the oops.
Signed-off-by: Kyungmin Park <[EMAIL PROTECTED]>
Signed-off-by: Tony Lindgren <[EMAIL PROTECTED]>
---
drivers/mmc/host/omap.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git
From: Carlos Eduardo Aguiar <[EMAIL PROTECTED]>
Using setup_timer() instead of init_timer() on omap.c file.
Signed-off-by: Carlos Eduardo Aguiar <[EMAIL PROTECTED]>
Signed-off-by: Tony Lindgren <[EMAIL PROTECTED]>
---
drivers/mmc/host/omap.c | 14 --
1 files changed, 4 insertions(+
From: Juha Yrjola <[EMAIL PROTECTED]>
Modifications at power functions to MMC multislot support. This patch
also move board-specific code out of MMC OMAP driver.
Signed-off-by: Juha Yrjola <[EMAIL PROTECTED]>
Signed-off-by: Carlos Eduardo Aguiar <[EMAIL PROTECTED]>
Signed-off-by: Tony Lindgren <[
From: Juha Yrjola <[EMAIL PROTECTED]>
Fix the data timeout calculation for MMC multislot support.
Signed-off-by: Juha Yrjola <[EMAIL PROTECTED]>
Signed-off-by: Jarkko Lavinen <[EMAIL PROTECTED]>
Signed-off-by: Carlos Eduardo Aguiar <[EMAIL PROTECTED]>
Signed-off-by: Tony Lindgren <[EMAIL PROTECTE
From: Juha Yrjola <[EMAIL PROTECTED]>
This patch adds back MMC cover switch support in a way that
supports multiple slots.
Signed-off-by: Juha Yrjola <[EMAIL PROTECTED]>
Signed-off-by: Jarkko Lavinen <[EMAIL PROTECTED]>
Signed-off-by: Carlos Eduardo Aguiar <[EMAIL PROTECTED]>
Signed-off-by: Tony
From: Juha Yrjola <[EMAIL PROTECTED]>
New functions to support MMC multislot:
mmc_omap_release_dma() and mmc_omap_abort_xfer().
Signed-off-by: Juha Yrjola <[EMAIL PROTECTED]>
Signed-off-by: Carlos Eduardo Aguiar <[EMAIL PROTECTED]>
Signed-off-by: Tony Lindgren <[EMAIL PROTECTED]>
---
drivers/mmc
Hi Pierre, Tony and folks,
The patch series that follows is a synchronization of MMC OMAP driver
from Linux-OMAP tree into mainline tree.
Basically, it brings MMC multislot support for OMAP boards with one slot
(like H2 1611, H3 1710) or two slots (like H4 2420 and N800). Others
boards supported
From: Jarkko Lavinen <[EMAIL PROTECTED]>
The limit was a fixed 100k limit in the busy loop, which is not
accurate. It would better to have time limit for the worst case
which occurs when sending 80 cycles at 400 kHz and takes about
200 microseconds, so limit the max time spend in the busy loop
for
From: Jarkko Lavinen <[EMAIL PROTECTED]>
MMCA spec says the mmc clock should be kept running for at least
8 cycles after the last RW request. Ensure this with lazy clock
disable after a request, or with an explicit delay before
switching a slot.
Signed-off-by: Jarkko Lavinen <[EMAIL PROTECTED]>
-
From: Tony Lindgren <[EMAIL PROTECTED]>
As noted by Kyungmin Park, the divisor calculation has
an unnecessary increase.
Signed-off-by: Tony Lindgren <[EMAIL PROTECTED]>
Signed-off-by: Carlos Eduardo Aguiar <[EMAIL PROTECTED]>
---
drivers/mmc/host/omap.c |1 -
1 files changed, 0 insertions(+)
From: Tony Lindgren <[EMAIL PROTECTED]>
This patch removes the MMC cover switch handling temporarily
to make following multislot patches cleaner.
MMC cover switch handling will be added back in later patches
after adding basic multislot support.
Signed-off-by: Tony Lindgren <[EMAIL PROTECTED]>
S
From: Carlos Eduardo Aguiar <[EMAIL PROTECTED]>
This patch adds an include missing from previous merging
mainline tree into linux-omap tree.
Signed-off-by: Carlos Eduardo Aguiar <[EMAIL PROTECTED]>
Signed-off-by: Tony Lindgren <[EMAIL PROTECTED]>
---
drivers/mmc/host/omap.c |1 +
1 files cha
From: Francisco Alecrim <[EMAIL PROTECTED]>
According with commit 255d01af9a990fd5166f04ed0cc0b30b7b67e81e
from Linux-OMAP tree, the BYTEBLOCK capability was removed by Pierre Ossman.
MMC_CAP_BYTEBLOCK is not defined causing the compile error:
drivers/mmc/host/omap.c: In function `mmc_omap_probe'
From: Juha Yrjola <[EMAIL PROTECTED]>
Introduce new MMC multislot structure and change driver to use it.
Note that MMC clocking is now enabled in mmc_omap_select_slot()
and disabled in mmc_omap_release_slot().
Signed-off-by: Juha Yrjola <[EMAIL PROTECTED]>
Signed-off-by: Jarkko Lavinen <[EMAIL P
This patch add a missing '\n' at the end of the 'cover is open' string
in mmc_omap_switch_handler().
Signed-off-by: Arnaud Patard <[EMAIL PROTECTED]>
Signed-off-by: Tony Lindgren <[EMAIL PROTECTED]>
Index: linux-2.6.20/drivers/mmc/omap.c
==
As discussed earlier on LKML:
http://lkml.org/lkml/2006/5/4/44
Signed-off-by: Tony Lindgren <[EMAIL PROTECTED]>
Index: linux-2.6.20/drivers/mmc/omap.c
===
--- linux-2.6.20.orig/drivers/mmc/omap.c2007-04-24 15:22:12.
Move divisor calculation into a separate function and
re-arrange the init order to make MMC_POWER_ON work.
Signed-off-by: Tony Lindgren <[EMAIL PROTECTED]>
Index: linux-2.6.20/drivers/mmc/omap.c
===
--- linux-2.6.20.orig/drivers/mmc
Hi Pierre,
Find in this series the pending patches from Linux-OMAP to mainline for
drivers/mmc/omap.c
The patches series was applied against Linus' tree 2.6.21-rc7-git6.
Anyway, it was tested on OMAP H2 (using omap_h2_1610_defconfig available
on linus' tree).
BR,
Carlos.
--
Carlos Eduardo
No
23 matches
Mail list logo