rk fb: close lcd pwr in suspend mode
authorhjc <hjc@rock-chips.com>
Mon, 31 Mar 2014 01:19:50 +0000 (09:19 +0800)
committerhjc <hjc@rock-chips.com>
Mon, 31 Mar 2014 01:20:12 +0000 (09:20 +0800)
drivers/video/rockchip/rk_fb.c

index 7fa73861559bce7f0be65036520f0c0dd4fba5ef..ec2e916eb47b1cdda213abd185bba40e0d67e8da 100755 (executable)
@@ -315,10 +315,9 @@ int rk_disp_pwr_disable(struct rk_lcdc_driver *dev_drv)
                pwr_ctr_list = list_entry(pos, struct rk_disp_pwr_ctr_list, list);
                pwr_ctr = &pwr_ctr_list->pwr_ctr;
                if (pwr_ctr->type == GPIO) {
-                       gpio_set_value(pwr_ctr->gpio,pwr_ctr->atv_val);
+                       gpio_set_value(pwr_ctr->gpio,!pwr_ctr->atv_val);
                }
        }
-
        return 0;
 }