mmc: omap_hsmmc: context save and restore for DT
authorTony Lindgren <tony@atomide.com>
Sun, 20 Oct 2013 18:55:19 +0000 (00:25 +0530)
committerChris Ball <cjb@laptop.org>
Thu, 31 Oct 2013 00:26:18 +0000 (20:26 -0400)
commit0a82e06e6183a252608df48cc4793b83e2d73dfd
treedd9804fa2794955c3f1566a46a7ed99974b5c28d
parente002264f7e45d7661b237045577052fd0b40f89c
mmc: omap_hsmmc: context save and restore for DT

We want to get rid of the omap specific platform init code
callbacks as they don't play nice with device tree.

Convert the context loss check to be based on a
register state detection instead.

Cc: Andreas Fenkart <afenkart@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
[add check for CON and HCTL in context save and restore function]
Signed-off-by: Balaji T K <balajitk@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/omap_hsmmc.c