Re: [PATCH 0/3] mmc: sdhci: support runtime PM for BYT SD cards

2013-05-06 Thread Adrian Hunter
On 06/05/13 22:27, Linus Walleij wrote: > On Mon, May 6, 2013 at 11:17 AM, Adrian Hunter > wrote: > >> Here are 3 patches to support runtime PM for BYT SD cards >> >> Please note that these patches are dependent upon 2 gpio patches >> that are in linux-next and linux-gpio but not the mmc tree. >

Re: [PATCH 18/22] mmc: sdhci-s3c: remove unnecessary platform_set_drvdata()

2013-05-06 Thread Jaehoon Chung
Acked-by: Jaehoon Chung On 05/06/2013 03:35 PM, Jingoo Han wrote: > The driver core clears the driver data to NULL after device_release > or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d > (device-core: Ensure drvdata = NULL when no driver is bound). > Thus, it is not ne

Re: [PATCH 17/22] mmc: sdhci-pxa: remove unnecessary platform_set_drvdata()

2013-05-06 Thread Haojian Zhuang
On Mon, May 6, 2013 at 2:34 PM, Jingoo Han wrote: > The driver core clears the driver data to NULL after device_release > or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d > (device-core: Ensure drvdata = NULL when no driver is bound). > Thus, it is not needed to manually

Re: [PATCH 0/3] mmc: sdhci: support runtime PM for BYT SD cards

2013-05-06 Thread Linus Walleij
On Mon, May 6, 2013 at 11:17 AM, Adrian Hunter wrote: > Here are 3 patches to support runtime PM for BYT SD cards > > Please note that these patches are dependent upon 2 gpio patches > that are in linux-next and linux-gpio but not the mmc tree. > Those patches are: > > author Mika Wester

Re: [PATCH 22/22] mmc: wmt-sdmmc: remove unnecessary platform_set_drvdata()

2013-05-06 Thread Tony Prisk
On 06/05/13 18:40, Jingoo Han wrote: The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the device dri

[PATCH 04/13] mmc: mxs-mmc: Let device core handle pinctrl

2013-05-06 Thread Fabio Estevam
Since commit ab78029 (drivers/pinctrl: grab default handles from device core), we can rely on device core for handling pinctrl. So remove devm_pinctrl_get_select_default() from the driver. Cc: Chris Ball Cc: Signed-off-by: Fabio Estevam --- drivers/mmc/host/mxs-mmc.c |8 1 file

RE: [PATCH 06/22] mmc: dw_mmc: remove unnecessary platform_set_drvdata()

2013-05-06 Thread Seungwon Jeon
On Monday, May 06, 2013, Jingoo Han wrote: > The driver core clears the driver data to NULL after device_release > or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d > (device-core: Ensure drvdata = NULL when no driver is bound). > Thus, it is not needed to manually clear th

Re: [PATCH 15/22] mmc: sdhci-acpi: remove unnecessary platform_set_drvdata()

2013-05-06 Thread Adrian Hunter
On 06/05/13 09:30, Jingoo Han wrote: > The driver core clears the driver data to NULL after device_release > or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d > (device-core: Ensure drvdata = NULL when no driver is bound). > Thus, it is not needed to manually clear the devi

[PATCH 3/3] mmc: sdhci-pci: support runtime PM for BYT SD cards

2013-05-06 Thread Adrian Hunter
Add support for runtime PM for BYT SD cards. Signed-off-by: Adrian Hunter --- drivers/mmc/host/sdhci-pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c index 701d06d..611331a 100644 --- a/drivers/mmc/host/sdhci-pci.c +++ b/driv

[PATCH 2/3] mmc: sdhci-acpi: support runtime PM for ACPI HID 80860F14 SD cards

2013-05-06 Thread Adrian Hunter
Enable runtime PM for ACPI HID 80860F14 SD cards, adding support for card detect GPIO. Signed-off-by: Adrian Hunter --- drivers/mmc/host/sdhci-acpi.c | 64 ++- 1 file changed, 63 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-acpi.c b/dr

[PATCH 1/3] mmc: sdhci: add ability to stay runtime-resumed if the card is powered up

2013-05-06 Thread Adrian Hunter
If card power is dependent on SD bus power then the host controller must not be runtime suspended while the card is powered up. Add the ability to stay runtime-resumed in that case and enable it with a new quirk SDHCI_QUIRK2_CARD_ON_NEEDS_BUS_ON. Signed-off-by: Adrian Hunter --- drivers/mmc/hos

[PATCH 0/3] mmc: sdhci: support runtime PM for BYT SD cards

2013-05-06 Thread Adrian Hunter
Hi Here are 3 patches to support runtime PM for BYT SD cards Please note that these patches are dependent upon 2 gpio patches that are in linux-next and linux-gpio but not the mmc tree. Those patches are: author Mika Westerberg 2013-04-03 10:56:54 (GMT) committer L

Re: [PATCH 10/22] mmc: mxs-mmc: remove unnecessary platform_set_drvdata()

2013-05-06 Thread Shawn Guo
On Mon, May 06, 2013 at 03:22:51PM +0900, Jingoo Han wrote: > The driver core clears the driver data to NULL after device_release > or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d > (device-core: Ensure drvdata = NULL when no driver is bound). > Thus, it is not needed to