[PATCH 0/4] mmc: rtsx_usb_sdmmc: Don't waste energy polling for cards

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

 



This series re-works the polling mechanism for the rtsx_usb_mmc driver, which
currently relies on pure polling via MMC_CAP_NEEDS_POLL. The problem is simply
that is wastes a lot of energy, while in fact the card detection logic don't
need to use polling.

Do note, this series doesn't work out of the box, as one addtional patch is
needed on the rtsx USB misc driver (runtime resuming the child at card detect).
I leave that for Kai Heng Feng to implement and moreover I rely on tests to be
done, as this series has only been compile tested.

Kind regards
Uffe

Ulf Hansson (4):
  mmc: core: Introduce MMC_CAP_SYNC_RUNTIME_PM
  mmc: rtsx_usb_sdmmc: Don't runtime resume the device while changing
    led
  mmc: rtsx_usb_sdmmc: Re-work runtime PM support
  mmc: rtsx_usb_sdmmc: Re-work card detection/removal support

 drivers/mmc/core/core.c           |  5 +++-
 drivers/mmc/host/rtsx_usb_sdmmc.c | 43 +++++++++++++++++++++++++------
 include/linux/mmc/host.h          |  2 +-
 3 files changed, 40 insertions(+), 10 deletions(-)

-- 
2.17.0

--
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