aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-yocto-3.14/tosa/0003-tmio-call-tmiofb_set_par-in-tmiofb_probe.patch
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2014-04-06 01:57:15 +0200
committerPaul Eggleton <paul.eggleton@linux.intel.com>2014-04-06 13:57:14 +0100
commit4e45cfccb3aed61f5fc5d82bcbed9fdf12cb28bb (patch)
tree38449020091f14774e5b9cbbe648ab2dc5cf2951 /recipes-kernel/linux/linux-yocto-3.14/tosa/0003-tmio-call-tmiofb_set_par-in-tmiofb_probe.patch
parent1eaeea04d8622d51b89fa37983c1a09ff9f436cf (diff)
downloadmeta-handheld-4e45cfccb3aed61f5fc5d82bcbed9fdf12cb28bb.tar.gz
linux-yocto: initial commit of version 3.14
* Includes h3600 updates from Linus Walleij <linus.walleij@linaro.org> * h1940 is currently excluded since it doesn't build with 3.14. 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-yocto-3.14/tosa/0003-tmio-call-tmiofb_set_par-in-tmiofb_probe.patch')
-rw-r--r--recipes-kernel/linux/linux-yocto-3.14/tosa/0003-tmio-call-tmiofb_set_par-in-tmiofb_probe.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-yocto-3.14/tosa/0003-tmio-call-tmiofb_set_par-in-tmiofb_probe.patch b/recipes-kernel/linux/linux-yocto-3.14/tosa/0003-tmio-call-tmiofb_set_par-in-tmiofb_probe.patch
new file mode 100644
index 0000000..24687ac
--- /dev/null
+++ b/recipes-kernel/linux/linux-yocto-3.14/tosa/0003-tmio-call-tmiofb_set_par-in-tmiofb_probe.patch
@@ -0,0 +1,41 @@
+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.
+
+Upstream-Status: Rejected [should fix kexecboot instead].
+Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
+---
+ drivers/video/tmiofb.c | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/drivers/video/tmiofb.c b/drivers/video/tmiofb.c
+index 7fb4e32..4ba1ded 100644
+--- a/drivers/video/tmiofb.c
++++ b/drivers/video/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
+