modify change camera bring to win0 black problem
authorhuangdesheng <root@huangds-desktop.(none)>
Thu, 17 Mar 2011 09:43:12 +0000 (17:43 +0800)
committerhuangdesheng <root@huangds-desktop.(none)>
Thu, 17 Mar 2011 09:43:12 +0000 (17:43 +0800)
drivers/video/rk29_fb.c

index e290040a6f0cd3b1978c951719067bfff4cb8896..bf8390e546a4cf2e8e43d1ce6b531037c7117dd9 100755 (executable)
@@ -1782,7 +1782,6 @@ int fb1_open(struct fb_info *info, int user)
     par->addr_seted = 0;
     inf->video_mode = 1;
     wq_condition2 = 1;
-    memset(inf->fb0->screen_base, 0, inf->fb0->fix.smem_len);
     if(par->refcount) {
         printk(">>>>>> fb1 has opened! \n");
         return -EACCES;