Messages in this thread | | | From | Linus Walleij <> | Date | Mon, 8 Apr 2019 13:04:27 +0200 | Subject | Re: [PATCH] gpio: of: Optimize quirk checks |
| |
On Fri, Mar 29, 2019 at 9:42 AM Geert Uytterhoeven <geert+renesas@glider.be> wrote:
> Simple string comparisons are cheaper than DT lookups, as the latter > involve taking a spinlock and traversing properties. > Hence optimize quirk checks by postponing DT lookups after string > comparisons. > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Thanks Geert! I merged v5.1-rc3 into my devel branch and applied this on top.
Yours, Linus Walleij
| |