[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZIsuIQ1OUffgSfqP@smile.fi.intel.com>
Date: Thu, 15 Jun 2023 18:28:33 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Raag Jadav <raag.jadav@...el.com>
Cc: linus.walleij@...aro.org, mika.westerberg@...ux.intel.com,
linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
mallikarjunappa.sangannavar@...el.com, pandith.n@...el.com
Subject: Re: [PATCH v4] pinctrl: intel: refine ->irq_set_type() hook
On Thu, Jun 15, 2023 at 06:20:22PM +0530, Raag Jadav wrote:
> Refine ->irq_set_type() hook and improve its readability by:
>
> - Reducing scope of spinlock by moving unneeded operations out of it.
> - Dropping redundant PADCFG0_RXEVCFG_SHIFT and including it directly
> into PADCFG0_RXEVCFG_* definitions.
> - Utilizing temporary variables for common operations.
> - Simplifying if-else-if chain.
Pushed to my review and testing queue, thanks!
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists