[lkml]   [2014]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] gpio: bcm281xx: Centralize register locking
On Wed, Jan 22, 2014 at 1:10 AM, Markus Mayer <> 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 <>
> Reviewed-by: Tim Kryger <>

Patch applied (for v3.15)

Linus Walleij

 \ /
  Last update: 2014-01-23 10:21    [W:0.061 / U:0.800 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site