pcmcia: lock ops->set_socket
authorDominik Brodowski <linux@dominikbrodowski.net>
Fri, 15 Jan 2010 23:26:33 +0000 (00:26 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Wed, 17 Feb 2010 16:48:16 +0000 (17:48 +0100)
commit9e86749cff70fca505c7c1a9dc760d193f27a059
tree3017dc3c22c12c7ef53fd81de6d4869f212cef02
parent8533ee31cdc08fc1f2533e5f21f8e4abf6a57dfc
pcmcia: lock ops->set_socket

As a side effect,
socket_state_t socket;
u_int state;
u_int suspended_state;
are properly protected now.

Tested-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/cs.c
drivers/pcmcia/pcmcia_resource.c