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>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
5.4-rM2-2.2.x-imx-squashed
Andy Duan 2017-03-22 11:33:38 +08:00 committed by Dong Aisheng
parent 16c4d62c0a
commit bc1f879da9
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)