summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/ds.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-05-07 14:11:09 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-07 14:11:09 -0700
commit2c32b1dab508ccaa4aea1a9d6047b65fc708e929 (patch)
tree7a97585278a6e5d49f0b969b8047918f4f5239c2 /drivers/pcmcia/ds.c
parent48fe37cb53a40e13c2f9fc974f574e38d18be303 (diff)
parent15d0a873549ef0bdeaa04dacf29a3e15de886d03 (diff)
downloadop-kernel-dev-2c32b1dab508ccaa4aea1a9d6047b65fc708e929.zip
op-kernel-dev-2c32b1dab508ccaa4aea1a9d6047b65fc708e929.tar.gz
Merge branch 'urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6
* 'urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6: pcmcia: fix compilation after 16bit state locking changes pcmcia: order userspace suspend and resume requests pcmcia: avoid pccard_validate_cis failure in resume callpath
Diffstat (limited to 'drivers/pcmcia/ds.c')
-rw-r--r--drivers/pcmcia/ds.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c
index 508f94a..041eee4 100644
--- a/drivers/pcmcia/ds.c
+++ b/drivers/pcmcia/ds.c
@@ -1283,6 +1283,7 @@ static int ds_event(struct pcmcia_socket *skt, event_t event, int priority)
destroy_cis_cache(skt);
kfree(skt->fake_cis);
skt->fake_cis = NULL;
+ s->functions = 0;
mutex_unlock(&s->ops_mutex);
/* now, add the new card */
ds_event(skt, CS_EVENT_CARD_INSERTION,
OpenPOWER on IntegriCloud