mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
rk3066b m701: add lcd_stb_pin ctrl
This commit is contained in:
@@ -661,6 +661,10 @@ static int rk_fb_io_disable(void)
|
||||
{
|
||||
gpio_set_value(LCD_EN_PIN, !LCD_EN_VALUE);
|
||||
}
|
||||
if(LCD_STB_PIN !=INVALID_GPIO)
|
||||
{
|
||||
gpio_set_value(LCD_STB_PIN, !LCD_STB_VALUE);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
static int rk_fb_io_enable(void)
|
||||
@@ -673,6 +677,10 @@ static int rk_fb_io_enable(void)
|
||||
{
|
||||
gpio_set_value(LCD_EN_PIN, LCD_EN_VALUE);
|
||||
}
|
||||
if(LCD_STB_PIN !=INVALID_GPIO)
|
||||
{
|
||||
gpio_set_value(LCD_STB_PIN, LCD_STB_VALUE);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user