Message ID | 1311769308-4183-1-git-send-email-sangwook.lee@linaro.org |
---|---|
State | Rejected |
Headers | show |
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);
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.lee@linaro.org> --- arch/arm/plat-samsung/pd.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)