summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/ep93xx-fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbdev/ep93xx-fb.c')
-rw-r--r--drivers/video/fbdev/ep93xx-fb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/fbdev/ep93xx-fb.c b/drivers/video/fbdev/ep93xx-fb.c
index cae00deee001..3e378874ccc7 100644
--- a/drivers/video/fbdev/ep93xx-fb.c
+++ b/drivers/video/fbdev/ep93xx-fb.c
@@ -311,6 +311,8 @@ static int ep93xxfb_mmap(struct fb_info *info, struct vm_area_struct *vma)
{
unsigned int offset = vma->vm_pgoff << PAGE_SHIFT;
+ vma->vm_page_prot = pgprot_decrypted(vma->vm_page_prot);
+
if (offset < info->fix.smem_len) {
return dma_mmap_wc(info->device, vma, info->screen_base,
info->fix.smem_start, info->fix.smem_len);