rk30fb :fix a bug in rk_fb_switch_screeen
authoryxj <yxj@rock-chips.com>
Thu, 3 May 2012 01:37:28 +0000 (09:37 +0800)
committeryxj <yxj@rock-chips.com>
Fri, 13 Jul 2012 04:14:20 +0000 (12:14 +0800)
after close lcdc the hdmi used ,return directly

drivers/video/rockchip/rk_fb.c

index 781c3ed166c118accd941f29b6c8b787afb4203f..05a9c7ed19b80c85b2f11175f11c2bef18097c3c 100644 (file)
@@ -638,6 +638,7 @@ int rk_fb_switch_screen(rk_screen *screen ,int enable ,int lcdc_id)
        if(!enable)
        {
                dev_drv->open(dev_drv,layer_id,enable); //disable the layer which attached to this fb
+               return 0;
        }
        
        hdmi_var = &info->var;