summaryrefslogtreecommitdiff
path: root/drivers/video/logo/logo.c
diff options
context:
space:
mode:
authorTakeshi Kihara <takeshi.kihara.df@renesas.com>2017-03-20 20:31:00 +0300
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2017-03-20 20:31:00 +0300
commit3fc4f2f94c9a7c5689d6c70774bab1bb4ff8f297 (patch)
tree64524743926f1ee8f75ae06849bacb6c5ead442b /drivers/video/logo/logo.c
parent8c6457504f9a8806409c4885a620faedf1348dca (diff)
downloadlinux-3fc4f2f94c9a7c5689d6c70774bab1bb4ff8f297.tar.xz
video/logo: tidyup fb_logo_late_init initcall timing
Some video driver might returns -EPROBE_DEFER when probe timing, but logo init function doesn't care it. Thus, such kernel can't have logo when boot time. This patch solves this issue by exchanging current late_initcall to late_initcall_sync Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Cc: Laurent <laurent.pinchart@ideasonboard.com> Cc: Fabian Frederick <fabf@skynet.be> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: shimoda <yoshihiro.shimoda.uh@renesas.com> Cc: Koji Matsuoka <koji.matsuoka.xm@renesas.com> Cc: shiiba <naoya.shiiba.nx@renesas.com> Cc: sakato <ryusuke.sakato.bx@renesas.com> Cc: Hosoya <yoshifumi.hosoya.wj@renesas.com> Cc: Fukawa <tomoharu.fukawa.eb@renesas.com> Cc: Hien Dang <hien.dang.eb@renesas.com> Cc: Khiem Nguyen <khiem.nguyen.xt@renesas.com> Cc: Kouei Abe <kouei.abe.cp@renesas.com> Cc: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Cc: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/video/logo/logo.c')
-rw-r--r--drivers/video/logo/logo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/logo/logo.c b/drivers/video/logo/logo.c
index b6bc4a0bda2a..4d50bfd13e7c 100644
--- a/drivers/video/logo/logo.c
+++ b/drivers/video/logo/logo.c
@@ -34,7 +34,7 @@ static int __init fb_logo_late_init(void)
return 0;
}
-late_initcall(fb_logo_late_init);
+late_initcall_sync(fb_logo_late_init);
/* logo's are marked __initdata. Use __ref to tell
* modpost that it is intended that this function uses data