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
parent
cd77d0162c
commit
c7cbfe3fcb
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue