aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-handheld-4.14/tosa/0003-tmio-call-tmiofb_set_par-in-tmiofb_probe.patch
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2018-07-18 00:00:16 +0200
committerPaul Eggleton <paul.eggleton@linux.intel.com>2018-07-20 10:00:51 +0200
commit24da68dd83b84be4366002f6211af9e6f17e45cf (patch)
tree88c44c9b538458a7326ede839bd1203297d734c7 /recipes-kernel/linux/linux-handheld-4.14/tosa/0003-tmio-call-tmiofb_set_par-in-tmiofb_probe.patch
parent647b3567d3eee2cb2daf3b299f681ddc8a5f9e3e (diff)
downloadmeta-handheld-24da68dd83b84be4366002f6211af9e6f17e45cf.tar.gz
meta-handheld-24da68dd83b84be4366002f6211af9e6f17e45cf.tar.bz2
meta-handheld-24da68dd83b84be4366002f6211af9e6f17e45cf.zip
linux-handheld_4.14: initial commit for pxa clamshells
Stable 4.14.56 patchset. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'recipes-kernel/linux/linux-handheld-4.14/tosa/0003-tmio-call-tmiofb_set_par-in-tmiofb_probe.patch')
-rw-r--r--recipes-kernel/linux/linux-handheld-4.14/tosa/0003-tmio-call-tmiofb_set_par-in-tmiofb_probe.patch43
1 files changed, 43 insertions, 0 deletions
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 <dbaryshkov@gmail.com>
+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 <dbaryshkov@gmail.com>
+---
+ 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
+