Messages in this thread | | | Date | Thu, 23 Jan 2014 09:22:25 +0100 | Subject | Re: [PATCH] gpio: bcm281xx: Centralize register locking | From | Linus Walleij <> |
| |
On Wed, Jan 22, 2014 at 1:10 AM, Markus Mayer <markus.mayer@linaro.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@linaro.org> > Reviewed-by: Tim Kryger <tim.kryger@linaro.org>
Patch applied (for v3.15)
Yours, Linus Walleij
| |