This is a proof-of-concept hack to demonstrate what I was
trying to describe earlier.
The last patch, in particular, takes some very ugly short-cuts
which I would never dream of proposing for upstream inclusion.
It seems to work, but I haven't tested thoroughly. I may not even be
doing what I think it is doing...
Comments?
Thanks,
NeilBrown
---
NeilBrown (4):
mmc: core: fold mmc_set_bus_width calls into sdio_enable_4bit_bus.
mmc/core: add pm_runtime tracking to mmc_host devices.
mmc/sdio: keep device awake when interrupts expected in 4bit mode
mmc/host: use runtime_pm to switch to 1-bit mode
drivers/mmc/core/core.c | 5 +++
drivers/mmc/core/host.c | 78 ++++++++++++++++++++++++++++++++++++++++++++++-
drivers/mmc/core/sdio.c | 41 +++++++++++--------------
3 files changed, 100 insertions(+), 24 deletions(-)
--
Signature
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html