1
0
Fork 0

MLK-14498-11 reset: gpio-reset: use the cansleep variant of the GPIO API

Use the cansleep variant of the GPIO API.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
pull/10/head
Andy Duan 2017-03-22 11:33:38 +08:00 committed by Jason Liu
parent cd77d0162c
commit c7cbfe3fcb
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ static void gpio_reset_set(struct reset_controller_dev *rcdev, int asserted)
if (drvdata->active_low)
value = !value;
gpio_set_value(drvdata->gpio, value);
gpio_set_value_cansleep(drvdata->gpio, value);
}
static int gpio_reset(struct reset_controller_dev *rcdev, unsigned long id)