[PATCH 04/13] video: udlfb: don't restore fb_mmap after deferred IO cleanup

From
Jani Nikula <hidden>
Date
2019-11-27 16:32:00
Also in
dri-devel, intel-gfx
Reply to
Jani Nikula, 2019-11-27
Deferred IO now preserves the fb_ops.

Cc: Bernie Thompson <bernie@plugable.com>
Cc: <redacted>
Signed-off-by: Jani Nikula <redacted>
---
 drivers/video/fbdev/udlfb.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/video/fbdev/udlfb.c b/drivers/video/fbdev/udlfb.c
index fe373b63ddd6..07905d385949 100644
--- a/drivers/video/fbdev/udlfb.c
+++ b/drivers/video/fbdev/udlfb.c
@@ -1037,7 +1037,6 @@ static int dlfb_ops_release(struct fb_info *info, int user)
 		fb_deferred_io_cleanup(info);
 		kfree(info->fbdefio);
 		info->fbdefio = NULL;
-		info->fbops->fb_mmap = dlfb_ops_mmap;
 	}
 
 	dev_dbg(info->dev, "release, user=%d count=%d\n", user, dlfb->fb_count);
-- 
2.20.1
Thread (36 messages) 36 messages, 6 authors, last reply 2019-11-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help