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)
commit86ad47fff97a9e416aadedfe68909b2d9143dc42
treefc88c4921b561b734115f30d46605e1ce56a0e57
parent6f288cc52f478e6f58d96158e7cd857fedb6d111
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