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

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

 



On 16/10/11 05:26, Chris Ball wrote:
> Hi,
> 
> On Sat, Oct 15 2011, Chris Ball wrote:
>> 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.
> 
> If I boot with a card inserted, I still see repeated "irq while runtime
> suspended" messages for 80 seconds after boot, but the card *does* work.
> I don't see further "irq while runtime suspended" messages during or
> after I/O to the card at that point.
> 
> So, we have a problem of unexpected irqs while runtime suspended, and a
> problem of broken card detection when booted without a card inserted
> (on my laptop).

Unfortunately I do not have any information about the unexpected irqs.

Card detect will not work because the interrupt is masked while the
host controller is runtime suspended, on the grounds that the host
controller may be powered off and so cannot handle interrupts.  An
alternate mechanism is needed to enable the host controller to
wake-up from a card detect signal.

So Runtime PM needs to be opt-in.  I have sent a patch.
--
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