From 24da68dd83b84be4366002f6211af9e6f17e45cf Mon Sep 17 00:00:00 2001 From: Andrea Adami Date: Wed, 18 Jul 2018 00:00:16 +0200 Subject: linux-handheld_4.14: initial commit for pxa clamshells Stable 4.14.56 patchset. Signed-off-by: Andrea Adami Signed-off-by: Paul Eggleton --- ...-tmio-call-tmiofb_set_par-in-tmiofb_probe.patch | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 recipes-kernel/linux/linux-handheld-4.14/tosa/0003-tmio-call-tmiofb_set_par-in-tmiofb_probe.patch (limited to 'recipes-kernel/linux/linux-handheld-4.14/tosa/0003-tmio-call-tmiofb_set_par-in-tmiofb_probe.patch') diff --git a/recipes-kernel/linux/linux-handheld-4.14/tosa/0003-tmio-call-tmiofb_set_par-in-tmiofb_probe.patch b/recipes-kernel/linux/linux-handheld-4.14/tosa/0003-tmio-call-tmiofb_set_par-in-tmiofb_probe.patch new file mode 100644 index 0000000..37e2e74 --- /dev/null +++ b/recipes-kernel/linux/linux-handheld-4.14/tosa/0003-tmio-call-tmiofb_set_par-in-tmiofb_probe.patch @@ -0,0 +1,43 @@ +From 3e683f8559e21a7328d74f907d1bbc3c2c5fc4b7 Mon Sep 17 00:00:00 2001 +From: Dmitry Eremin-Solenikov +Date: Mon, 27 Jan 2014 16:55:17 +0400 +Subject: [PATCH 3/7] tmio: call tmiofb_set_par in tmiofb_probe + +Call tmiofb_set_par() to initlaize fixed variable before registering +framebuffer. This is necessary for current kexecboot. + +Rebased for 3.17-rc6 + +Upstream-Status: Rejected [should fix kexecboot instead]. +Signed-off-by: Dmitry Eremin-Solenikov +--- + drivers/video/fbdev/tmiofb.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/drivers/video/fbdev/tmiofb.c b/drivers/video/fbdev/tmiofb.c +index 7fb4e32..4ba1ded 100644 +--- a/drivers/video/fbdev/tmiofb.c ++++ b/drivers/video/fbdev/tmiofb.c +@@ -774,6 +774,10 @@ static int tmiofb_probe(struct platform_device *dev) + if (retval) + goto err_hw_init; + ++ retval = tmiofb_set_par(info); ++ if (retval) ++ goto err_set_par; ++ + fb_videomode_to_modelist(data->modes, data->num_modes, + &info->modelist); + +@@ -786,7 +790,7 @@ static int tmiofb_probe(struct platform_device *dev) + return 0; + + err_register_framebuffer: +-/*err_set_par:*/ ++err_set_par: + tmiofb_hw_stop(dev); + err_hw_init: + if (cell->disable) +-- +1.8.5.2 + -- cgit 1.2.3-korg