[Meego-kernel] [PATCH 7/9] intel_mid_keypad: switch to threaded irq, start to add locking

Alan Cox alan at linux.intel.com
Wed Feb 2 01:19:40 PST 2011


On Tue,  1 Feb 2011 16:04:20 -0800
Kristen Carlson Accardi <kristen at linux.intel.com> wrote:

> switch to a threaded irq and add a mutex for locking.

Why do we need the lock ? The IRQ path is serialized, the input
layer open/close are serialized by the input layer and the
initialisation/shutdown paths are also serialized by caller.

The only mess-ups I know of were the create/remove time ones where
there were tiny windows during tear down/start up but those I fixed in
the recent push by simply re-ordering them properly.

Alan


More information about the MeeGo-kernel mailing list