]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8c8fc8210b7e7c92f877810abe0c75097e4fb901
treedd9804fa2794955c3f1566a46a7ed99974b5c28d
parent32edcc2c28e6847e183ccfb4dd1e35173ebe30f0
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