]> asedeno.scripts.mit.edu Git - linux.git/commit
viafb: Do not remove gpiochip under spinlock
authorJonathan Corbet <corbet@lwn.net>
Fri, 30 Apr 2010 15:45:51 +0000 (09:45 -0600)
committerJonathan Corbet <corbet@lwn.net>
Fri, 7 May 2010 23:17:40 +0000 (17:17 -0600)
commit27fe971d08b43f649358745a55f3c48ac6f413f8
treeb9ac11243bb57db206952f81e5b596f2108a8140
parent2b78a963c800252a0016785813cc5140c006145c
viafb: Do not remove gpiochip under spinlock

gpiochip_remove() is not meant to be called with interrupts disabled, and
there is no need for the lock here in any case.

Reported-by: Bruno Prémont <bonbons@linux-vserver.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
drivers/video/via/via-gpio.c