]> git.karo-electronics.de Git - mv-sheeva.git/commit
pcmcia: use state machine for extended requery
authorDominik Brodowski <linux@dominikbrodowski.net>
Sun, 24 Jan 2010 13:36:59 +0000 (14:36 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Wed, 17 Feb 2010 16:48:27 +0000 (17:48 +0100)
commitaa584ca4cdd8db370a524c61fd3ca408303281e9
treedc7945721b8cdcaa88f4dc6d394c2b318c20504a
parentaf461fc1875b6ec18e23b5f670af36c4ed35c84e
pcmcia: use state machine for extended requery

The requery callback now also handles the addition of a second pseudo
multifunction device. Avoids messing with dev_{g,s}et_drvdata(), and
fixes any workqueue <-> skt_mutex deadlock.

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