Func:samsung_pd_init should be postponed utill end of drivers
registeration because this activates runtime_suspend in advance.

For example,
If PD's runtime_suspend is called, it will power down LCD0_CONF0.
Since this happens before s3cfb driver registers itself,
it makes s3cfb_probe hang up with both Origen and SMDK

Signed-off-by: Sangwook Lee <sangwook....@linaro.org>
---
 arch/arm/plat-samsung/pd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/plat-samsung/pd.c b/arch/arm/plat-samsung/pd.c
index efe1d56..5ffc737 100644
--- a/arch/arm/plat-samsung/pd.c
+++ b/arch/arm/plat-samsung/pd.c
@@ -92,4 +92,4 @@ static int __init samsung_pd_init(void)
 
        return ret;
 }
-arch_initcall(samsung_pd_init);
+late_initcall_sync(samsung_pd_init);
-- 
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to