[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdbZ4US4Onhr-AmkPoqxQU0enrsicx775kLKdpEVtkTbhg@mail.gmail.com>
Date: Thu, 5 Nov 2020 10:10:57 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Syed Nayyar Waris <syednwaris@...il.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
William Breathitt Gray <vilhelm.gray@...il.com>,
Robert Richter <rrichter@...vell.com>,
Bartosz Golaszewski <bgolaszewski@...libre.com>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v12 3/4] gpio: thunderx: Utilize for_each_set_clump macro
On Sun, Oct 18, 2020 at 11:41 PM Syed Nayyar Waris <syednwaris@...il.com> wrote:
> This patch reimplements the thunderx_gpio_set_multiple function in
> drivers/gpio/gpio-thunderx.c to use the new for_each_set_clump macro.
> Instead of looping for each bank in thunderx_gpio_set_multiple
> function, now we can skip bank which is not set and save cycles.
>
> Cc: Robert Richter <rrichter@...vell.com>
> Cc: Bartosz Golaszewski <bgolaszewski@...libre.com>
> Signed-off-by: Syed Nayyar Waris <syednwaris@...il.com>
> Signed-off-by: William Breathitt Gray <vilhelm.gray@...il.com>
> ---
> Changes in v12:
> - No change.
Acked-by: Linus Walleij <linus.walleij@...aro.org>
If Andrew merges this through his tree.
Yours,
Linus Walleij
Powered by blists - more mailing lists