From: Jani Nikula Date: Fri, 29 Nov 2019 10:29:34 +0000 (+0200) Subject: video: udlfb: don't restore fb_mmap after deferred IO cleanup X-Git-Tag: v5.10.7~2352^2~6^2~772 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f1844af349c730b159dd78cc76da2978c49fafd0;p=platform%2Fkernel%2Flinux-rpi.git video: udlfb: don't restore fb_mmap after deferred IO cleanup Deferred IO now preserves the fb_ops. Cc: Bernie Thompson Cc: linux-fbdev@vger.kernel.org Reviewed-by: Daniel Vetter Signed-off-by: Jani Nikula Link: https://patchwork.freedesktop.org/patch/msgid/0f12bb51a6f2a656571cd21230b7e9d5be320db4.1575022735.git.jani.nikula@intel.com --- diff --git a/drivers/video/fbdev/udlfb.c b/drivers/video/fbdev/udlfb.c index fe373b6..07905d38 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);