[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdYSh+h4za6tMR1WuPXRo6jPA7TM2XkCYPc-f6vwuaFwcg@mail.gmail.com>
Date: Thu, 23 Jan 2014 09:22:25 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Markus Mayer <markus.mayer@...aro.org>
Cc: Linaro Patches <patches@...aro.org>,
Linux GPIO List <linux-gpio@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Tim Kryger <tim.kryger@...aro.org>
Subject: Re: [PATCH] gpio: bcm281xx: Centralize register locking
On Wed, Jan 22, 2014 at 1:10 AM, Markus Mayer <markus.mayer@...aro.org> wrote:
> Rather than unlock/re-lock for every write access, unlock a GPIO when
> it is requested and re-lock it when it is freed. As a result, the GPIO
> helper functions no longer have to deal with unlocking and re-locking
> the register.
>
> In addition, only unlock a specific GPIO rather than unlocking the
> entire GPIO bank as before.
>
> Signed-off-by: Markus Mayer <markus.mayer@...aro.org>
> Reviewed-by: Tim Kryger <tim.kryger@...aro.org>
Patch applied (for v3.15)
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists