The commit converting pxamci to slot-gpio API inverted the logic of the
read-only gpio. Fix it by inverting the logic again.
Fixes: fd546ee6a7dc ("mmc: pxamci: fix card detect with slot-gpio API")
Signed-off-by: Robert Jarzmik
Cc: sta...@vger.kernel.org
---
Signed-off-by: Al Cooper
---
.../devicetree/bindings/mmc/sdhci-brcmstb.txt | 16 +++
drivers/mmc/host/Kconfig | 12 ++
drivers/mmc/host/Makefile | 1 +
drivers/mmc/host/sdhci-brcmstb.c | 143
Add quirk to disable SDR50 mode for controllers/boards that have
problems with this mode.
Signed-off-by: Al Cooper
---
drivers/mmc/host/sdhci.c | 3 +++
drivers/mmc/host/sdhci.h | 2 ++
2 files changed, 5 insertions(+)
diff --git a/drivers/mmc/host/sdhci.c
This includes both newly added and previously undocumented
properties.
Signed-off-by: Al Cooper
---
Documentation/devicetree/bindings/mmc/mmc.txt | 8
1 file changed, 8 insertions(+)
diff --git a/Documentation/devicetree/bindings/mmc/mmc.txt
Add support for "broken-sdr50", "broken-ddr50", "broken-64-bit-dma"
and "broken-timeout-value" device tree properties.
The properties will cause the corresponding quirks bits to be set.
This allows some of the platform specific QUIRKS setting to be
moved out of the driver and into the Device Tree
On Mon, Jul 6, 2015 at 4:53 AM, Ivan T. Ivanov wrote:
> Ensure SDCC is working with maximum clock otherwise card
> detection could be extremely slow, up to 7 seconds.
>
> Signed-off-by: Ivan T. Ivanov
> Reviewed-by: Georgi Djakov
Signed-off-by: Ulf Hansson
---
drivers/mmc/host/dw_mmc-rockchip.c | 8
drivers/mmc/host/mtk-sd.c | 1 -
include/linux/mmc/host.h | 1 -
3 files changed, 10 deletions(-)
diff --git a/drivers/mmc/host/dw_mmc-rockchip.c
MMC_CAP_RUNTIME_RESUME was invented to decrease system PM resume time for
systems that particularly needs this. As the feature has matured let's
make it the default behavior for MMC/SD.
Signed-off-by: Ulf Hansson
---
drivers/mmc/core/mmc.c | 15 ++-
As mmc_claim_host() invokes pm_runtime_get_sync() for the mmc host device,
it's important that the host is kept claimed for *all* accesses to it via
the host_ops callbacks.
In mmc_rescan(), the ->card_event() and the ->get_cd() callback are being
invoked without claiming the host, let's fix this.
The ->card_event() callback may be called when re-scan is disabled and for
non-removable cards, which both cases are unnecessary.
Instead let's move the call later in mmc_rescan() where these constraints
have been validated.
Signed-off-by: Ulf Hansson
---
Instead of checking for "#ifdef" directly in the code, let's invent a pair
of mmc core functions to deal with register/unregister the MMC PM notifier
block. Implement stubs for these functions when CONFIG_PM_SLEEP is unset,
as in that case the PM notifiers isn't used.
Signed-off-by: Ulf Hansson
_mmc_detect_card_removed() validates that the card is removable, but when
being called via the bus_ops ->detect() callbacks, the validation is
redundant as it's already done in mmc_rescan().
Move the validation of a removable card to the mmc_detect_card_removed()
API, which is where it's
12 matches
Mail list logo