Thread (31 messages) 31 messages, 7 authors, 2014-01-16
STALE4530d

[PATCH] mmc: dw_mmc: fix dw_mci_get_cd

From: zhangfei.gao@linaro.org (zhangfei)
Date: 2014-01-15 07:31:45
Also in: linux-mmc

Hi Kevin

Would you mind check whehter this patch solve the issue of "The Samsung 
Arndale board started failing boot from MMC".

I am sorry about that.

On 01/15/2014 03:15 PM, Zhangfei Gao wrote:
Introdeced from commit b7db86adfa58b
commit should be bf626e5550f24aec24975a0e85ad8e572ca76a6b, from mmc-next
CDETECT is ingored since IS_ERR_VALUE(!mmc_gpio_get_cd(mmc)) does not work
Add spin_lock_bh(&host->lock) for atomic accessing DW_MMC_CARD_PRESENT

Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Reported-by: Kevin Hilman <redacted>
---
  drivers/mmc/host/dw_mmc.c |    9 ++++++---
  1 file changed, 6 insertions(+), 3 deletions(-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help