Commit 6e1038a9 authored by Magnus Damm's avatar Magnus Damm Committed by Paul Mundt

video: deferred io cleanup

Make sure the mmap callback is set to NULL in the deferred io
cleanup function. This way we can enable and disable deferred
io on the fly.
Signed-off-by: default avatarMagnus Damm <damm@igel.co.jp>
Acked-by: default avatarJaya Kumar <jayakumar.lkml@gmail.com>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 87884bd8
......@@ -202,6 +202,9 @@ void fb_deferred_io_cleanup(struct fb_info *info)
page = vmalloc_to_page(screen_base + i);
page->mapping = NULL;
}
info->fbops->fb_mmap = NULL;
mutex_destroy(&fbdefio->lock);
}
EXPORT_SYMBOL_GPL(fb_deferred_io_cleanup);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment