Home
last modified time | relevance | path

Searched hist:"40 bba0c1ca83a370f749c8bc9afda71cf79ebd91" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/mmc/core/
H A Dsdio_bus.cdiff 40bba0c1ca83a370f749c8bc9afda71cf79ebd91 Sat Oct 02 06:54:11 CDT 2010 Ohad Ben-Cohen <ohad@wizery.com> mmc: sdio: enable runtime PM for SDIO functions

Enable runtime PM for SDIO functions.

SDIO functions are initialized with a disabled runtime PM state,
and are set active (and their usage count is incremented)
only before potential drivers are probed.

SDIO function drivers that support runtime PM should call
pm_runtime_put_noidle() in their probe routine, and
pm_runtime_get_noresume() in their remove routine (very
similarly to PCI drivers).

In case a matching driver does not support runtime PM, power will
always be kept high (since the usage count is positive).

Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Tested-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
H A Dsdio.cdiff 40bba0c1ca83a370f749c8bc9afda71cf79ebd91 Sat Oct 02 06:54:11 CDT 2010 Ohad Ben-Cohen <ohad@wizery.com> mmc: sdio: enable runtime PM for SDIO functions

Enable runtime PM for SDIO functions.

SDIO functions are initialized with a disabled runtime PM state,
and are set active (and their usage count is incremented)
only before potential drivers are probed.

SDIO function drivers that support runtime PM should call
pm_runtime_put_noidle() in their probe routine, and
pm_runtime_get_noresume() in their remove routine (very
similarly to PCI drivers).

In case a matching driver does not support runtime PM, power will
always be kept high (since the usage count is positive).

Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Tested-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: Chris Ball <cjb@laptop.org>