summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2012-11-19 20:29:59 +0400
committerChris Ball <cjb@laptop.org>2012-12-06 22:54:57 +0400
commita48ce884d5819d5df2cf1139ab3c43f8e9e419b3 (patch)
tree13186caeac3fd877d67a6cf164271c5315c3edb3 /include/linux
parentcd587096c0e2b85a67e77721a753679bac89b394 (diff)
downloadlinux-a48ce884d5819d5df2cf1139ab3c43f8e9e419b3.tar.xz
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 'include/linux')
0 files changed, 0 insertions, 0 deletions