]> git.baikalelectronics.ru Git - kernel.git/commit
can: ti_hecc: Fix uninitialized spinlock in probe
authorAbhilash K V <abhilash.kv@ti.com>
Tue, 23 Aug 2011 03:05:57 +0000 (03:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Aug 2011 16:48:24 +0000 (12:48 -0400)
commit2d5a41b2c5697a7acb8c4c83204810bc7bcaf31a
treefc88c4921b561b734115f30d46605e1ce56a0e57
parent5a3290a5050c7997eae1b6e465fc4da577261429
can: ti_hecc: Fix uninitialized spinlock in probe

In ti_hecc_probe(), the spinlock  priv->mbx_lock is not
inited, causing a spinlock lockup BUG.

Acked-by: Anant Gole <anantgole@ti.com>
Signed-off-by: Abhilash K V <abhilash.kv@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/ti_hecc.c