]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
orinoco: fix unsafe locking in orinoco_cs_resume
authorAndrey Borzenkov <arvidjaar@mail.ru>
Fri, 10 Oct 2008 16:22:38 +0000 (20:22 +0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 15 Oct 2008 00:49:02 +0000 (20:49 -0400)
commit552a71515eef5cba9af8bfe608149557059c4463
treece1376616968d0d9a8b04b946ee084735d1df210
parent33c0360bf74d5fded34cb08d3512ada32ad661e4
orinoco: fix unsafe locking in orinoco_cs_resume

[ 6972.562035] =================================
[ 6972.562040] [ INFO: inconsistent lock state ]
[ 6972.562048] 2.6.27-1avb #17
[ 6972.562053] ---------------------------------
[ 6972.562060] inconsistent {in-hardirq-W} -> {hardirq-on-W} usage.
[ 6972.562068] pm-suspend/17062 [HC0[0]:SC0[0]:HE1:SE1] takes:
[ 6972.562076]  (&priv->lock){++..}, at: [<dfd4f05b>] orinoco_cs_resume+0x5b/0xd0 [orinoco_cs]
[ 6972.562122] {in-hardirq-W} state was registered at:
[ 6972.562128]   [<c013ea6b>] __lock_acquire+0x6cb/0x1640
[ 6972.562171]   [<c013fa3c>] lock_acquire+0x5c/0x80
[ 6972.562181]   [<c02f6e39>] _spin_lock_irqsave+0x49/0x80
[ 6972.562210]   [<dfd6425d>] orinoco_interrupt+0x4d/0x16d0 [orinoco]
[ 6972.562257]   [<c015a2b1>] handle_IRQ_event+0x31/0x60
[ 6972.562278]   [<c015b73e>] handle_level_irq+0x6e/0xe0
[ 6972.562291]   [<c0104b20>] do_IRQ+0xb0/0x130
[ 6972.562313]   [<ffffffff>] 0xffffffff

Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/orinoco_cs.c