p54spi: Add missing spin_lock_init
authorMichael Büsch <m@bues.ch>
Wed, 16 Nov 2011 22:48:31 +0000 (23:48 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Dec 2011 16:52:28 +0000 (08:52 -0800)
commit00b080367aca3dbb6191cbe522609d2055ea0fd8
tree7c166c9da1039244ec6651b0b839a94e03b16d33
parent24ee8bfeb1dafdc8d2294d1c296bf4baa9324ad8
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