p54spi: Add missing spin_lock_init
commitcd42f5dd80b534a3b61afd0e469d98602e1858d8
authorMichael Büsch <m@bues.ch>
Wed, 16 Nov 2011 22:48:31 +0000 (16 23:48 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Dec 2011 17:21:38 +0000 (9 09:21 -0800)
treebc0bcb870038b1995371012bc8e8b725979f49ab
parent5c3e9f55bbd366af73e51a12e1aa797a29532d67
p54spi: Add missing spin_lock_init

commit 32d3a3922d617a5a685a5e2d24b20d0e88f192a9 upstream.

The tx_lock is not initialized properly. Add spin_lock_init().

Signed-off-by: Michael Buesch <m@bues.ch>
Acked-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/p54/p54spi.c