ARM: 5827/1: SA1100: h3100/h3600: emit messages on failed gpio_request
Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:

committed by
Russell King

parent
a53c876dc1
commit
729fae44dd
@@ -31,6 +31,8 @@ static void h3100_lcd_power(int enable)
|
||||
gpio_set_value(H3100_GPIO_LCD_3V_ON, enable);
|
||||
gpio_direction_output(H3XXX_EGPIO_LCD_ON, enable);
|
||||
gpio_free(H3XXX_EGPIO_LCD_ON);
|
||||
} else {
|
||||
pr_err("%s: can't request H3XXX_EGPIO_LCD_ON\n", __func__);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user