Re: [PATCH V4 4/5] gpio: gpio-xilinx: Add support for suspend and resume

2021-01-08 Thread Linus Walleij
On Fri, Jan 8, 2021 at 12:41 PM Srinivas Neeli wrote: > > On Wed, Jan 6, 2021 at 1:27 PM Srinivas Neeli > > wrote: > > > /** > > > * xgpio_remove - Remove method for the GPIO device. > > > * @pdev: pointer to the platform device @@ -289,7 +323,10 @@ static > > > int xgpio_remove(struct plat

RE: [PATCH V4 4/5] gpio: gpio-xilinx: Add support for suspend and resume

2021-01-08 Thread Srinivas Neeli
Waris > ; open list:GPIO SUBSYSTEM g...@vger.kernel.org>; Linux ARM ; > linux-kernel@vger.kernel.org; git > Subject: Re: [PATCH V4 4/5] gpio: gpio-xilinx: Add support for suspend and > resume > > On Wed, Jan 6, 2021 at 1:27 PM Srinivas Neeli > wrote: > > > Add supp

Re: [PATCH V4 4/5] gpio: gpio-xilinx: Add support for suspend and resume

2021-01-07 Thread Linus Walleij
On Wed, Jan 6, 2021 at 1:27 PM Srinivas Neeli wrote: > Add support for suspend and resume, pm runtime suspend and resume. > Added free and request calls. > > Signed-off-by: Srinivas Neeli (...) > +static int xgpio_request(struct gpio_chip *chip, unsigned int offset) > +{ > + int ret; > +

[PATCH V4 4/5] gpio: gpio-xilinx: Add support for suspend and resume

2021-01-06 Thread Srinivas Neeli
Add support for suspend and resume, pm runtime suspend and resume. Added free and request calls. Signed-off-by: Srinivas Neeli --- Changes in V4: -Adjust code to remove conflicts. Changes in V3: -Created new patch for suspend and resume. --- drivers/gpio/gpio-xilinx.c | 94 ++