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: NLinSysSoft Sahara Team <saharaproj@linsyssoft.com> Signed-off-by: NMithlesh Thukral <mithlesh@linsyssoft.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
Showing
想要评论请 注册 或 登录