[PATCH] pcmcia: fix multiple insertion of multifunction cards
authorDominik Brodowski <linux@dominikbrodowski.net>
Mon, 1 Aug 2005 12:55:51 +0000 (14:55 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 1 Aug 2005 17:03:56 +0000 (10:03 -0700)
commit5d546f54324e04747e82ccbb4ea85f54bdcacd6d
tree58b217d83948d56dbb8d874941ad9aca1ab28f45
parent2b8d4669376332a6819e21994a78ecd5502d3ebc
[PATCH] pcmcia: fix multiple insertion of multifunction cards

The ordering of setting and clearing device_add_pending went wrong on some
occasions, causing multifunction cards only to be handled correctly on the
first insertion, not on subsequent ones.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/pcmcia/ds.c