mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
|PATCH] seeq: Add missing spinlock init
It doesn't seem this spinlock was properly initialized. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
979402b16c
commit
b8dfc6a0a7
1 changed files with 1 additions and 0 deletions
|
|
@ -751,6 +751,7 @@ static int __devinit sgiseeq_probe(struct platform_device *pdev)
|
|||
sp->srings = sr;
|
||||
sp->rx_desc = sp->srings->rxvector;
|
||||
sp->tx_desc = sp->srings->txvector;
|
||||
spin_lock_init(&sp->tx_lock);
|
||||
|
||||
/* A couple calculations now, saves many cycles later. */
|
||||
setup_rx_ring(dev, sp->rx_desc, SEEQ_RX_BUFFERS);
|
||||
|
|
|
|||
Loading…
Reference in a new issue