Skip to content

Commit

Permalink
Fix display for aurora
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarx2k committed Jun 18, 2012
1 parent 26633c1 commit 31974a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/video/sun4i/disp/de_bsp/de/disp_lcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1045,13 +1045,13 @@ __s32 LCD_POWER_EN(__u32 sel, __bool b_en)

if(gdisp.screen[sel].lcd_cfg.lcd_power_used)
{
memcpy(gpio_info, &(gdisp.screen[sel].lcd_cfg.lcd_power), sizeof(user_gpio_set_t));
/* memcpy(gpio_info, &(gdisp.screen[sel].lcd_cfg.lcd_power), sizeof(user_gpio_set_t));
if(!b_en)
{
gpio_info->data = (gpio_info->data==0)?1:0;
}

*/
hdl = OSAL_GPIO_Request(gpio_info, 1);
OSAL_GPIO_Release(hdl, 2);
}
Expand Down

0 comments on commit 31974a2

Please sign in to comment.