lkml.org 
[lkml]   [2021]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v5] gpiolib: Bind gpio_device to a driver to enable fw_devlink=on by default
From
Date
01.02.2021 00:28, Saravana Kannan пишет:
>> This patch causes these new errors on NVIDIA Tegra30 Nexus 7 using recent linux-next:
>>
>> gpio-1022 (cpu-pwr-req-hog): hogged as input
>> max77620-pinctrl max77620-pinctrl: pin gpio4 already requested by max77620-pinctrl; cannot claim for gpiochip1
>> max77620-pinctrl max77620-pinctrl: pin-4 (gpiochip1) status -22
>> max77620-pinctrl max77620-pinctrl: could not request pin 4 (gpio4) from group gpio4 on device max77620-pinctrl
>> gpio_stub_drv gpiochip1: Error applying setting, reverse things back
>> gpio_stub_drv: probe of gpiochip1 failed with error -22
>>
>> Please fix, thanks in advance.
> I have a partial guess on why this is happening. So can you try this patch?
>
> Thanks,
> Saravana
>
> --- a/drivers/gpio/gpiolib.c
> +++ b/drivers/gpio/gpiolib.c
> @@ -4213,6 +4213,8 @@ static int gpio_stub_drv_probe(struct device *dev)
> * gpio_device of the GPIO chip with the firmware node and then simply
> * bind it to this stub driver.
> */
> + if (dev->fwnode && dev->fwnode->dev != dev)
> + return -EBUSY;
> return 0;
> }

This change doesn't help, exactly the same errors are still there.

\
 
 \ /
  Last update: 2021-02-01 17:51    [W:0.083 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site