lkml.org 
[lkml]   [2012]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH RFT 2/2] gpio: gpio-pch: Use spinlock for register access protection
    From
    On Sun, Jul 29, 2012 at 4:55 AM, Axel Lin <axel.lin@gmail.com> wrote:

    > gpio_chip.can_sleep is 0, but current code uses mutex in pch_gpio_set
    > pch_gpio_get and pch_gpio_direction_input functions.
    > Thus those functions are not callable from interrupt context.
    > This patch converts mutex into spinlock.
    >
    > Signed-off-by: Axel Lin <axel.lin@gmail.com>

    Applied to my devel branch for the next merge window...

    Yours,
    Linus Walleij


    \
     
     \ /
      Last update: 2012-08-15 01:03    [W:4.908 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site