2013/3/1 Philip Rakity :
>
> On Mar 1, 2013, at 9:40 AM, Kevin Liu wrote:
>
>> in function sdhci_request:
>> 1. If quirk SDHCI_QUIRK_BROKEN_CARD_DETECTION is selected, there is no
>> card detection available and polling must be used. Gpio detect must
>> _not_ be supported under this case.
>> Chang
From: Ulf Hansson
SDIO is the only protocol that uses runtime pm for the card device
right now. To provide the option for sd and mmc to use runtime pm as
well the bus_ops callback are extended with two new functions. One for
runtime_suspend and one for runtime_resume.
This patch will also implem
From: Ulf Hansson
Once the mmc blkdevice is being probed, runtime pm will be enabled.
By using runtime autosuspend, the power save operations can be done
when request inactivity occurs for a certain time. Right now the
selected timeout value is set to 3 s.
Moreover, when the blk device is being
From: Ulf Hansson
SDIO has been using runtime pm for a while to handle runtime power save
operations. This patchset is enabling the option to make the sd/mmc
blockdevices to use runtime pm as well.
The runtime pm implementation for the block device will make use of
autosuspend to defer power sav
From: Ulf Hansson
The mmc_power_restore|save_host API is only used by SDIO func drivers. SDIO
func drivers are also moving towards use of runtime pm to accomplish the
the same operation and since this API is not used for mmc and sd it makes
sense to remove the corresponding bus_ops.
Moreover, at
On Mar 1, 2013, at 9:40 AM, Kevin Liu wrote:
> in function sdhci_request:
> 1. If quirk SDHCI_QUIRK_BROKEN_CARD_DETECTION is selected, there is no
> card detection available and polling must be used. Gpio detect must
> _not_ be supported under this case.
> Change the sequence to check SDHCI_QUIR
2013/2/28 Kevin Liu :
> 1. If quirk SDHCI_QUIRK_BROKEN_CARD_DETECTION is selected, there is no
> card detection available and polling must be used. Gpio detect must
> _not_ be supported under this case.
> Change the sequence to check SDHCI_QUIRK_BROKEN_CARD_DETECTION first,
> which make code more c
For permanently present card, cd-broken quirk should _not_ be selected.
Otherwise polling will be used to detect the card.
Signed-off-by: Kevin Liu
---
drivers/mmc/host/sdhci-pxav3.c |6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/mmc/host/sdhci-pxav3.c b/dri
Let sdhci_pltfm_init set host->ops and host->quirks.
Signed-off-by: Kevin Liu
---
drivers/mmc/host/sdhci-pxav3.c | 17 +
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c
index a0cdbc5..55d0784 100644
-
Signed-off-by: Kevin Liu
---
drivers/mmc/host/sdhci-pltfm.c |4 +++-
drivers/mmc/host/sdhci-pltfm.h |1 +
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/host/sdhci-pltfm.c b/drivers/mmc/host/sdhci-pltfm.c
index 3145a78..e605509 100644
--- a/drivers/mmc/host/sdhc
in function sdhci_request:
1. If quirk SDHCI_QUIRK_BROKEN_CARD_DETECTION is selected, there is no
card detection available and polling must be used. Gpio detect must
_not_ be supported under this case.
Change the sequence to check SDHCI_QUIRK_BROKEN_CARD_DETECTION first,
which make code more clear.
On Fri, Mar 1, 2013 at 4:19 AM, Kevin Liu wrote:
> Thanks for the review. Can you also help to review the latest v3?
> The only difference to v2 is swap the check sequence between gpio and
> cd-broken quirk.
Yes I saw that, please add my Reviewed-by.
Yours,
Linus Walleij
--
To unsubscribe from
12 matches
Mail list logo