or accept
> patches.
>
> see also comments below
>
[snip]
> 2015-06-22 15:18 GMT+02:00 Vignesh R :
>>
>
>> But calls to omap_hsmmc_card_init or omap_hsmmc_get_cd are in the same
>> mmc_rescan thread. Hence, moving the recovery code to init_card does not
&
On Tuesday 16 June 2015 04:07 PM, Vignesh R wrote:
>
> Hi,
>
> When using omap_hsmmc driver, if sd-card repeatedly plug unplugged
> multiple times quickly, card enumeration stops after few iterations.
> This can be easily reproduced on DRA74X EVM which uses omap_hsmmc dr
00 tries).
>
> see also comments below
>
> 2015-06-16 12:37 GMT+02:00 Vignesh R :
>> Usually when there is an error in transfer, DTO/CTO or other error
>> interrupts are raised. But if the card is unplugged in the middle of a
>> data transfer, it is observed that, nei
leads to a hang.
Fix this by checking for 'host->data' before it is actually cleared.
Fixes: ae4bf788ee9b ("mmc: omap_hsmmc: consolidate error report handling of
HSMMC IRQ")
CC: sta...@vger.kernel.org
Signed-off-by: Kishon Vijay Abraham I
Signed-off-by: Vignesh R
(for which error occurred) to complete.
Fix this, by reporting BADA, DEB, CEB errors to mmc-core as -EILSEQ, so
that the core can do appropriate handling.
Signed-off-by: Vignesh R
---
drivers/mmc/host/omap_hsmmc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc
.
Kishon Vijay Abraham I (1):
mmc: host: omap_hsmmc: Fix DTO and DCRC handling
Vignesh R (2):
mmc: host: omap_hsmmc: Handle BADA, DEB and CEB interrupts
mmc: host: omap_hsmmc: Add custom card detect irq handler
drivers/mmc/host/omap_hsmmc.c | 84 ---
1 file
transaction.
Signed-off-by: Vignesh R
---
drivers/mmc/host/omap_hsmmc.c | 73 ++-
1 file changed, 72 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index fb4bfefd9250..ec1fff3c0c9c 100644
--- a/drivers/mmc