lkml.org 
[lkml]   [2019]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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

\
 
 \ /
  Last update: 2019-04-08 13:05    [W:0.102 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site