1 --- a/drivers/video/omap/omapfb_main.c
2 +++ b/drivers/video/omap/omapfb_main.c
3 @@ -419,10 +419,10 @@ static void set_fb_fix(struct fb_info *f
4 fbi->screen_base = rg->vaddr;
7 - mutex_lock(&fbi->mm_lock);
9 fix->smem_start = rg->paddr;
10 fix->smem_len = rg->size;
11 - mutex_unlock(&fbi->mm_lock);
14 fix->smem_start = rg->paddr;
15 fix->smem_len = rg->size;
16 @@ -932,10 +932,10 @@ static int omapfb_setup_mem(struct fb_in
17 * plane memory is dealloce'd, the other
18 * screen parameters in var / fix are invalid.
20 - mutex_lock(&fbi->mm_lock);
22 fbi->fix.smem_start = 0;
23 fbi->fix.smem_len = 0;
24 - mutex_unlock(&fbi->mm_lock);
29 --- a/drivers/video/fbmem.c
30 +++ b/drivers/video/fbmem.c
31 @@ -1369,8 +1369,10 @@ fb_mmap(struct file *file, struct vm_are
34 /* frame buffer memory */
36 start = info->fix.smem_start;
37 len = PAGE_ALIGN((start & ~PAGE_MASK) + info->fix.smem_len);
40 /* memory mapped io */