linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] video/logo: tidyup fb_logo_late_init initcall timing
@ 2017-03-08 10:14 ` Kuninori Morimoto
  2017-03-20 17:29   ` Bartlomiej Zolnierkiewicz
  0 siblings, 1 reply; 2+ messages in thread
From: Kuninori Morimoto @ 2017-03-08 10:14 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Laurent, Bartlomiej Zolnierkiewicz, Fabian Frederick,
	Andrew Morton, shimoda, Koji Matsuoka, shiiba, sakato, Hosoya,
	Fukawa, Hien Dang, Khiem Nguyen, Kouei Abe, Harunobu Kurokawa,
	Hiroyuki Yokoyama, Takeshi Kihara, Linux Fbdev development list,
	linux-kernel

From: Takeshi Kihara <takeshi.kihara.df@renesas.com>

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>
---
 drivers/video/logo/logo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/logo/logo.c b/drivers/video/logo/logo.c
index b6bc4a0..4d50bfd 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
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] video/logo: tidyup fb_logo_late_init initcall timing
  2017-03-08 10:14 ` [PATCH] video/logo: tidyup fb_logo_late_init initcall timing Kuninori Morimoto
@ 2017-03-20 17:29   ` Bartlomiej Zolnierkiewicz
  0 siblings, 0 replies; 2+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2017-03-20 17:29 UTC (permalink / raw)
  To: Kuninori Morimoto
  Cc: Geert Uytterhoeven, Laurent, Fabian Frederick, Andrew Morton,
	shimoda, Koji Matsuoka, shiiba, sakato, Hosoya, Fukawa,
	Hien Dang, Khiem Nguyen, Kouei Abe, Harunobu Kurokawa,
	Hiroyuki Yokoyama, Takeshi Kihara, Linux Fbdev development list,
	linux-kernel

On Wednesday, March 08, 2017 10:14:33 AM Kuninori Morimoto wrote:
> From: Takeshi Kihara <takeshi.kihara.df@renesas.com>
> 
> 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>

Patch queued for 4.12, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-20 17:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20170308101436epcas5p44c047eb28386d4d3545313a10cb72775@epcas5p4.samsung.com>
2017-03-08 10:14 ` [PATCH] video/logo: tidyup fb_logo_late_init initcall timing Kuninori Morimoto
2017-03-20 17:29   ` Bartlomiej Zolnierkiewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).