summaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorOhad Ben-Cohen2011-07-17 17:38:21 +0200
committerChris Ball2011-07-21 16:35:09 +0200
commitecc024419a13da1e589aebc422d9d1e3c0124ba4 (patch)
tree7f46c0fd259b76ca2f13cb2cd8b2675326f1bab6 /MAINTAINERS
parentmmc: at91_mci: move register header from include/ to drivers/ (diff)
downloadkernel-qcow2-linux-ecc024419a13da1e589aebc422d9d1e3c0124ba4.tar.gz
kernel-qcow2-linux-ecc024419a13da1e589aebc422d9d1e3c0124ba4.tar.xz
kernel-qcow2-linux-ecc024419a13da1e589aebc422d9d1e3c0124ba4.zip
mmc: fix runtime PM with -ENOSYS suspend case
In the case where a driver returns -ENOSYS from its suspend handler to indicate that the device should be powered down over suspend, the remove routine of the driver was not being called, leading to lots of confusion during resume. The problem is that runtime PM is disabled during this process, and when we reach mmc_sdio_remove, calling the runtime PM functions here (validly) return errors, and this was causing us to skip the remove function. Fix this by ignoring the error value of pm_runtime_get_sync(), which can return valid errors. This also matches the behaviour of pci_device_remove(). Signed-off-by: Daniel Drake <dsd@laptop.org> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions