Re: [PATCH 2/2] mmc: sdhci-pci: add runtime pm support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Adrian,

On Mon, Oct 03 2011, Adrian Hunter wrote:
> Ths patch allows runtime PM for sdhci-pci, runtime suspending
> after inactivity of 50ms and ensuring runtime resume before
> SDHC registers are accessed.  During runtime suspend, interrupts
> are masked.  The host controller state is restored at runtime
> resume.
>
> For Medfield, the host controller's card detect mechanism
> is supplanted by an always-on GPIO which provides for card
> detect wake-up.
>
> Signed-off-by: Adrian Hunter <adrian.hunter@xxxxxxxxx>

Running linux-next on an x86 ThinkPad W510 with Ricoh 1180:e832 reader,
I get a long string of these messages at boot with no card inserted:

[    7.361614] mmc0: got irq while runtime suspended
[    7.381593] mmc0: got irq while runtime suspended
[    7.401602] mmc0: got irq while runtime suspended
[    7.401617] mmc0: got irq while runtime suspended
[    7.421510] mmc0: got irq while runtime suspended
[    7.421525] mmc0: got irq while runtime suspended

Card insertion detection after boot no longer works (nothing new appears
in dmesg), so I'm unable to use the reader.  Are you able to try to
figure this out?  I'm happy to try any patches you suggest.

The full dmesg, with CONFIG_MMC_DEBUG=y, is available at:
   http://chris.printf.net/sdhci-runtime-pm-dmesg

Thanks,

- Chris.
-- 
Chris Ball   <cjb@xxxxxxxxxx>   <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux