projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'airlied/drm-next' into topic/drm-misc
[cascardo/linux.git]
/
drivers
/
gpu
/
drm
/
vc4
/
vc4_drv.c
diff --git
a/drivers/gpu/drm/vc4/vc4_drv.c
b/drivers/gpu/drm/vc4/vc4_drv.c
index
25ed008
..
8b42d31
100644
(file)
--- a/
drivers/gpu/drm/vc4/vc4_drv.c
+++ b/
drivers/gpu/drm/vc4/vc4_drv.c
@@
-91,8
+91,7
@@
static void vc4_lastclose(struct drm_device *dev)
{
struct vc4_dev *vc4 = to_vc4_dev(dev);
{
struct vc4_dev *vc4 = to_vc4_dev(dev);
- if (vc4->fbdev)
- drm_fbdev_cma_restore_mode(vc4->fbdev);
+ drm_fbdev_cma_restore_mode(vc4->fbdev);
}
static const struct file_operations vc4_drm_fops = {
}
static const struct file_operations vc4_drm_fops = {