Skip to content

Commit

Permalink
Merge tag 'fbdev-v4.10-rc2' of git://github.com/bzolnier/linux into f…
Browse files Browse the repository at this point in the history
…bdev-for-next

fbdev fixes for v4.10-rc2:

- bring fbdev subsystem back into Maintained mode
- add missing devm_ioremap() error checking to cobalt_lcdfb driver
  • Loading branch information
bzolnier committed Jan 5, 2017
2 parents 0c744ea + 4dcd19b commit 2f7590b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -5080,9 +5080,11 @@ F: drivers/net/wan/dlci.c
F: drivers/net/wan/sdla.c

FRAMEBUFFER LAYER
M: Bartlomiej Zolnierkiewicz <[email protected]>
L: [email protected]
T: git git://github.com/bzolnier/linux.git
Q: http://patchwork.kernel.org/project/linux-fbdev/list/
S: Orphan
S: Maintained
F: Documentation/fb/
F: drivers/video/
F: include/video/
Expand Down
5 changes: 5 additions & 0 deletions drivers/video/fbdev/cobalt_lcdfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,11 @@ static int cobalt_lcdfb_probe(struct platform_device *dev)
info->screen_size = resource_size(res);
info->screen_base = devm_ioremap(&dev->dev, res->start,
info->screen_size);
if (!info->screen_base) {
framebuffer_release(info);
return -ENOMEM;
}

info->fbops = &cobalt_lcd_fbops;
info->fix = cobalt_lcdfb_fix;
info->fix.smem_start = res->start;
Expand Down

0 comments on commit 2f7590b

Please sign in to comment.