Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8dfc6a0 authored by Jean Delvare's avatar Jean Delvare Committed by David S. Miller
Browse files

|PATCH] seeq: Add missing spinlock init



It doesn't seem this spinlock was properly initialized.

Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 979402b1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);