diff options
Diffstat (limited to 'drivers/pcmcia/ds.c')
-rw-r--r-- | drivers/pcmcia/ds.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c index 6fb76399547e..b120794c03a9 100644 --- a/drivers/pcmcia/ds.c +++ b/drivers/pcmcia/ds.c | |||
@@ -583,7 +583,9 @@ static int pcmcia_card_add(struct pcmcia_socket *s) | |||
583 | if (!(s->resource_setup_done)) | 583 | if (!(s->resource_setup_done)) |
584 | return -EAGAIN; /* try again, but later... */ | 584 | return -EAGAIN; /* try again, but later... */ |
585 | 585 | ||
586 | pcmcia_validate_mem(s); | 586 | if (pcmcia_validate_mem(s)) |
587 | return -EAGAIN; /* try again, but later... */ | ||
588 | |||
587 | ret = pccard_validate_cis(s, BIND_FN_ALL, &cisinfo); | 589 | ret = pccard_validate_cis(s, BIND_FN_ALL, &cisinfo); |
588 | if (ret || !cisinfo.Chains) { | 590 | if (ret || !cisinfo.Chains) { |
589 | ds_dbg(0, "invalid CIS or invalid resources\n"); | 591 | ds_dbg(0, "invalid CIS or invalid resources\n"); |