[PATCH v2 0/1]mmc: check SDIO card wake up during suspending

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

 



Change against v1:

Minor fix: add check return value in sdhci_suspend_host.
               Fix checkpatch.pl warning




    mmc: check SDIO card wake up during suspending

    It is possible that SDIO card send card interrupt to wake up
    system just after SDIO func driver and SDIO card firmware commit
    suspend state, while system is still in suspending process and
    mmc interrupt is not release yet.

    Interrupt storm may happen if func driver does not notify firmware
    to clear the wake up source. If func driver issue SDIO bus transaction
    to have firmware clear the source and driver continue to handle the
    wake up event, system may enter suspend before all transaction done.
    In this case, SDIO card will not enter lower power mode never. But
    system can not be wake up for only card insert/remove/interrupt irq are
    listed in wake up source in SD spec. Data/command done irq can
    not wake up system.

    This patch check SDIO card interrupt and stop system suspend if there
    are card interrupt after func driver suspend.
--
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