Merge tag 'u-boot-atmel-fixes-2021.10-a' of https://source.denx.de/u-boot/custodians/u-boot-atmel
First set of u-boot-atmel fixes for 2021.10 cycle: This small fixes set is dedicated to fixing the onewire subsystem for the at91 boards which was broken since 2020.04.
This commit is contained in:
@@ -156,7 +156,7 @@ static int w1_gpio_of_to_plat(struct udevice *dev)
|
||||
struct w1_gpio_pdata *pdata = dev_get_plat(dev);
|
||||
int ret;
|
||||
|
||||
ret = gpio_request_by_name(dev, "gpios", 0, &pdata->gpio, 0);
|
||||
ret = gpio_request_by_name(dev, "gpios", 0, &pdata->gpio, GPIOD_IS_IN);
|
||||
if (ret < 0)
|
||||
printf("Error claiming GPIO %d\n", ret);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user