|
@@ -409,6 +409,9 @@ static void socket_shutdown(struct pcmcia_socket *s)
|
|
#endif
|
|
#endif
|
|
s->functions = 0;
|
|
s->functions = 0;
|
|
|
|
|
|
|
|
+ /* give socket some time to power down */
|
|
|
|
+ msleep(100);
|
|
|
|
+
|
|
s->ops->get_status(s, &status);
|
|
s->ops->get_status(s, &status);
|
|
if (status & SS_POWERON) {
|
|
if (status & SS_POWERON) {
|
|
printk(KERN_ERR "PCMCIA: socket %p: *** DANGER *** unable to remove socket power\n", s);
|
|
printk(KERN_ERR "PCMCIA: socket %p: *** DANGER *** unable to remove socket power\n", s);
|