mmc: rk_sdmmc: disable controller int before enter deepsleep
authorShawn Lin <shawn.lin@rock-chips.com>
Fri, 22 May 2015 06:56:11 +0000 (14:56 +0800)
committerShawn Lin <shawn.lin@rock-chips.com>
Fri, 22 May 2015 08:19:59 +0000 (16:19 +0800)
commit7fe20f9744e7dd70231fcc73ce60f1508cb5b0e1
treecd003860ef6d1251494d7cebdb4c83a17af0f30d
parent4bb5de4aae7482f6d0b4d7dfc7c926aa14939616
mmc: rk_sdmmc: disable controller int before enter deepsleep

   Generally when machine enter deepsleep, with no cirrcumstance,
host can interact with slavery devices. So disbale our int generater
ourself. By occasionly, we find reset controller will trigger an
unexpected SEB int. It exists a race condition for reset and IO timing
before switched to gpio and confuse state machine.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Tested-and-Reviewed-by: Xiao yao <xiaoyao@rock-chips.com>
drivers/mmc/host/rk_sdmmc.c