diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-01-04 12:00:57 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-01-04 12:00:57 -0500 |
commit | 9f7445197a263c99ddb898f3609fed21673ae24c (patch) | |
tree | 5a5507f4170d31a155c071a8aa6bed0529bc9f26 | |
parent | 99b9be77632734363913e5cf22c06bb66d7f71d8 (diff) | |
parent | 4dcd19bfabaee8f9f4bcf203afba09b98ccbaf76 (diff) |
Merge tag 'fbdev-v4.10-rc2' of git://github.com/bzolnier/linux
Pull fbdev fixes from Bartlomiej Zolnierkiewicz:
- bring fbdev subsystem back into Maintained mode
- add missing devm_ioremap() error checking to cobalt_lcdfb driver
* tag 'fbdev-v4.10-rc2' of git://github.com/bzolnier/linux:
video: fbdev: cobalt_lcdfb: Handle return NULL error from devm_ioremap
MAINTAINERS: add myself as maintainer of fbdev
-rw-r--r-- | MAINTAINERS | 4 | ||||
-rw-r--r-- | drivers/video/fbdev/cobalt_lcdfb.c | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index cfff2c9e3d94..2775b14f861a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -5080,9 +5080,11 @@ F: drivers/net/wan/dlci.c | |||
5080 | F: drivers/net/wan/sdla.c | 5080 | F: drivers/net/wan/sdla.c |
5081 | 5081 | ||
5082 | FRAMEBUFFER LAYER | 5082 | FRAMEBUFFER LAYER |
5083 | M: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | ||
5083 | L: linux-fbdev@vger.kernel.org | 5084 | L: linux-fbdev@vger.kernel.org |
5085 | T: git git://github.com/bzolnier/linux.git | ||
5084 | Q: http://patchwork.kernel.org/project/linux-fbdev/list/ | 5086 | Q: http://patchwork.kernel.org/project/linux-fbdev/list/ |
5085 | S: Orphan | 5087 | S: Maintained |
5086 | F: Documentation/fb/ | 5088 | F: Documentation/fb/ |
5087 | F: drivers/video/ | 5089 | F: drivers/video/ |
5088 | F: include/video/ | 5090 | F: include/video/ |
diff --git a/drivers/video/fbdev/cobalt_lcdfb.c b/drivers/video/fbdev/cobalt_lcdfb.c index 2d3b691f3fc4..038ac6934fe9 100644 --- a/drivers/video/fbdev/cobalt_lcdfb.c +++ b/drivers/video/fbdev/cobalt_lcdfb.c | |||
@@ -308,6 +308,11 @@ static int cobalt_lcdfb_probe(struct platform_device *dev) | |||
308 | info->screen_size = resource_size(res); | 308 | info->screen_size = resource_size(res); |
309 | info->screen_base = devm_ioremap(&dev->dev, res->start, | 309 | info->screen_base = devm_ioremap(&dev->dev, res->start, |
310 | info->screen_size); | 310 | info->screen_size); |
311 | if (!info->screen_base) { | ||
312 | framebuffer_release(info); | ||
313 | return -ENOMEM; | ||
314 | } | ||
315 | |||
311 | info->fbops = &cobalt_lcd_fbops; | 316 | info->fbops = &cobalt_lcd_fbops; |
312 | info->fix = cobalt_lcdfb_fix; | 317 | info->fix = cobalt_lcdfb_fix; |
313 | info->fix.smem_start = res->start; | 318 | info->fix.smem_start = res->start; |