Thread (4 messages) 4 messages, 4 authors, 2021-11-26

Re: [PATCH v4 12/12] gpio: Add support for Airoha EN7523 GPIO controller

From: Andy Shevchenko <hidden>
Date: 2021-11-26 17:27:33
Also in: linux-arm-kernel, linux-gpio, lkml

On Fri, Nov 26, 2021 at 6:40 PM Bartosz Golaszewski [off-list ref] wrote:
On Thu, Nov 25, 2021 at 12:24 PM Felix Fietkau [off-list ref] wrote:
quoted
From: John Crispin <john@phrozen.org>

Airoha's GPIO controller on their ARM EN7523 SoCs consists of two banks of 32
GPIOs. Each instance in DT is for an single bank.
a single

...
quoted
+       err = bgpio_init(&ctrl->gc, dev, 4, ctrl->data, NULL,
+                        NULL, NULL, NULL, 0);
+       if (err) {
+               dev_err(dev, "unable to init generic GPIO");
+               return err;
+       }
Since it will be a new version you may have a chance to replace this with

  return dev_err_probe(dev, err, ...);

-- 
With Best Regards,
Andy Shevchenko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help