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
parent
16c4d62c0a
commit
bc1f879da9
|
@ -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