diff options
author | John Crispin <john@openwrt.org> | 2016-02-25 10:14:05 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2016-02-25 10:14:05 +0000 |
commit | 0834f9f07631a8857a96614e37cb21e1dc84ffb4 (patch) | |
tree | c62e777de69d8397ed7870991bc46d5648a20046 /target/linux/brcm2708/patches-4.1/0216-bcm2709_fb-refine-appropriate-behaviors-to-unsupport.patch | |
parent | b3dc9566a46efa67951ff6ae28e4397da9db92af (diff) | |
download | upstream-0834f9f07631a8857a96614e37cb21e1dc84ffb4.tar.gz upstream-0834f9f07631a8857a96614e37cb21e1dc84ffb4.tar.bz2 upstream-0834f9f07631a8857a96614e37cb21e1dc84ffb4.zip |
brcm2708: remove linux 4.1 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 48766
Diffstat (limited to 'target/linux/brcm2708/patches-4.1/0216-bcm2709_fb-refine-appropriate-behaviors-to-unsupport.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.1/0216-bcm2709_fb-refine-appropriate-behaviors-to-unsupport.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/target/linux/brcm2708/patches-4.1/0216-bcm2709_fb-refine-appropriate-behaviors-to-unsupport.patch b/target/linux/brcm2708/patches-4.1/0216-bcm2709_fb-refine-appropriate-behaviors-to-unsupport.patch deleted file mode 100644 index a699f01f22..0000000000 --- a/target/linux/brcm2708/patches-4.1/0216-bcm2709_fb-refine-appropriate-behaviors-to-unsupport.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 52725443dcfd674734ab36a6e61a2fccde00b98b Mon Sep 17 00:00:00 2001 -From: wuyuehang <yuehan9.wu@gmail.com> -Date: Tue, 17 Nov 2015 09:24:41 +0800 -Subject: [PATCH 216/222] bcm2709_fb: refine appropriate behaviors to - unsupported fb ioctls -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -since fbturbo introduces and use FBUNSUPPORTED ioctl on copyarea -operations for unsupported dummy ioctl which is expected to return -failure. in such scenario, bcm2709 always prompts error log. - -in order not to bother users in kernel log, we change the dev_err to -dev_dbg and return a ENOTTY other than EINVAL to let userspace handles -the return value. - -Signed-off-by: wuyuehang <yuehan9.wu@gmail.com> -Reviewed-by: popcornmix <popcornmix@gmail.com> -Reviewed-by: Phil Elwell <pelwell@users.noreply.github.com> -Reviewed-by: Noralf Trønnes <noralf@tronnes.org> ---- - drivers/video/fbdev/bcm2708_fb.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - ---- a/drivers/video/fbdev/bcm2708_fb.c -+++ b/drivers/video/fbdev/bcm2708_fb.c -@@ -442,8 +442,8 @@ static int bcm2708_ioctl(struct fb_info - &dummy, sizeof(dummy)); - break; - default: -- dev_err(info->device, "Unknown ioctl 0x%x\n", cmd); -- return -EINVAL; -+ dev_dbg(info->device, "Unknown ioctl 0x%x\n", cmd); -+ return -ENOTTY; - } - - if (ret) |