Staging: sxg: Fix sleep in atomic context warning while loading driver
authorMithlesh Thukral <mithlesh@linsyssoft.com>
Wed, 25 Mar 2009 10:21:14 +0000 (15:51 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 17 Apr 2009 18:06:31 +0000 (11:06 -0700)
commitcc4b8dfc3ff32f890cd5de0ce22de44f124d0d05
tree87599f51989f80cb86f9da51ce75da0a10a88ff2
parent8d17e6ad8113f7534d978b1b3511f62637483fcc
Staging: sxg: Fix sleep in atomic context warning while loading driver

Leave a spinlock before calling request_irq(). request_irq() calls kmalloc
which can sleep. This was generating a warning dump while driver is loaded.

Signed-off-by: LinSysSoft Sahara Team <saharaproj@linsyssoft.com>
Signed-off-by: Mithlesh Thukral <mithlesh@linsyssoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/sxg/sxg.c