Re: FW: SD card reader stopped working in kernel 3.6: CONFIG_REGULATOR troubles (solved)

2013-01-05 Thread Kevin Liu
> -Original Message- > From: linux-mmc-ow...@vger.kernel.org > [mailto:linux-mmc-ow...@vger.kernel.org] On Behalf Of Rainer Kaluscha > Sent: Sunday, January 06, 2013 12:20 AM > To: linux-mmc@vger.kernel.org > Subject: SD card reader stopped working in kernel 3.6: CONFIG_REGULATOR > troubl

SD card reader stopped working in kernel 3.6: CONFIG_REGULATOR troubles (solved)

2013-01-05 Thread Rainer Kaluscha
My SD card reader which worked fine with kernel 3.5 stopped working with kernel 3.6 and 3.7. It is a "SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)", PCI-ID 0e:06.1 I finally noticed messages like "mmc0: Hardware doesn't report any support voltages." so I trie

[PATCH v2 2/2] mmc: sdhci-pxav3: add wake up support

2013-01-05 Thread Kevin Liu
Signed-off-by: Jialing Fu Signed-off-by: Kevin Liu --- drivers/mmc/host/sdhci-pxav3.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c index b4aca81..ff06aff 100644 --- a/drivers/mmc/host/sdhci-pxav3.c

[PATCH v2 1/2] mmc: sdhci: add wake up support

2013-01-05 Thread Kevin Liu
Not to disable SD Host IRQ during suspend if it is wake up source. Enable wakeup event during suspend. Signed-off-by: Jialing Fu Signed-off-by: Kevin Liu --- drivers/mmc/host/sdhci.c | 60 - 1 files changed, 42 insertions(+), 18 deletions(-) diff -

[PATCH v2] mmc: sdhci-pxav3: add pm runtime support

2013-01-05 Thread Kevin Liu
Signed-off-by: Jialing Fu Signed-off-by: Kevin Liu --- drivers/mmc/host/sdhci-pxav3.c | 97 +++- 1 files changed, 96 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c index fad0966..b4aca81 100644 ---

[PATCH] mmc: sdhci: disable interrupt before free_irq

2013-01-05 Thread Kevin Liu
Current code missed disabling interrupts before free irq which is shared. Notice below comments for function free_irq (kernel/irq/manage.c): On a shared IRQ the caller must ensure the interrupt is disabled on the card it drives before calling this function. Original code has below issue during su