diff options
author | Felipe Balbi <balbi@ti.com> | 2012-11-19 21:59:59 +0530 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-12-06 13:54:57 -0500 |
commit | a48ce884d5819d5df2cf1139ab3c43f8e9e419b3 (patch) | |
tree | 13186caeac3fd877d67a6cf164271c5315c3edb3 /drivers/of/pdt.c | |
parent | cd587096c0e2b85a67e77721a753679bac89b394 (diff) | |
download | blackbird-obmc-linux-a48ce884d5819d5df2cf1139ab3c43f8e9e419b3.tar.gz blackbird-obmc-linux-a48ce884d5819d5df2cf1139ab3c43f8e9e419b3.zip |
mmc: omap_hsmmc: Introduce omap_hsmmc_prepare/complete
prepare() is supposed to prevent new children from being registered.
On the MMC subsystem, children (new cards) registration starts with
the card detect IRQ.
Move card detect IRQ disabling to prepare() so that no new cards
will be registered while we're trying to suspend.
Likewise, move card detect IRQ enabling to complete() so we only
try to register new children after our MMC IP is back up.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Venkatraman S <svenkatr@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/of/pdt.c')
0 files changed, 0 insertions, 0 deletions