Re: [PATCH v4 1/4] mmc: dw_mmc: Invalidate cache of current_speed after suspend/resume

2013-08-07 Thread Jaehoon Chung
Hi Doung On 08/07/2013 06:37 AM, Doug Anderson wrote: > The dw_mmc driver keeps a cache of the current slot->clock in order to > avoid doing a whole lot of work every time set_ios() is called. > However, after suspend/resume the register values are bogus so we need > to ensure that the cached valu

[PATCH] mmc: sdhci-bcm-kona: make linker-section warning go away

2013-08-07 Thread Markus Mayer
This change makes the following build warning go away: [...] LINKvmlinux LD vmlinux.o MODPOST vmlinux.o WARNING: modpost: Found 2 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' Signed-off-by: Markus Mayer Reviewed-by: Christ

[PATCH] ARM: mmc: fix NONREMOVABLE test in sdhci-bcm-kona

2013-08-07 Thread Christian Daudt
sdhci-bcm-kona driver is incorrectly doing "|" to bit-test NONREMOVABLE. Switch to "&" Reviewed-by: Markus Mayer Reviewed-by: Matt Porter Signed-off-by: Christian Daudt diff --git a/drivers/mmc/host/sdhci-bcm-kona.c b/drivers/mmc/host/sdhci-bcm-kona.c index 87175f9..9ffac0b 100644 --- a/drive

[PATCH 03/26] mmc: Use the new

2013-08-07 Thread Alessandro Rubini
For portability, use . Signed-off-by: Alessandro Rubini Link: http://lkml.kernel.org/r/1355146956-6009-6-git-send-email-cimina...@gnudd.com Acked-by: Giancarlo Asnaghi Acked-by: David Brown Signed-off-by: H. Peter Anvin --- drivers/mmc/host/mmci.c |2 +- drivers/mmc/host/msm_sdcc.c |

[PATCH V2] mmc: omap_hsmmc: Fix sleep too long in ISR context.

2013-08-07 Thread majianpeng
V2: clean up code. V1: www.mail-archive.com/linux-omap@vger.../msg93239.html‎ We found a problem when we removed a working sd card that the irqaction of omap_hsmmc can sleep to 3.6s. This cause our watchdog to work. In func omap_hsmmc_reset_controller_fsm, it should watch a 0->1

[RESEND PATCH] mmc: block: fix null pointer use in mmc_blk_remove_req

2013-08-07 Thread Franck Jullien
A previous commit (fdfa20c1631210d0) reordered the shutdown sequence in mmc_blk_remove_req. However, mmc_cleanup_queue is now called before we get the card pointer and, sadly, mmc_cleanup_queue set mq->card to NULL. This patch moves the card pointer assignment before mmc_cleanup_queue. --- driver