Commit c7fb82ce authored by Aristeu Sergio Rozanski Filho's avatar Aristeu Sergio Rozanski Filho Committed by James Bottomley

[PATCH] qlogic_cs: don't call qlogic_release on fail

parent 7097014c
......@@ -333,7 +333,11 @@ static void qlogic_config(dev_link_t * link)
cs_failed:
cs_error(link->handle, last_fn, last_ret);
qlogic_release(link);
link->dev = NULL;
pcmcia_release_configuration(link->handle);
pcmcia_release_io(link->handle, &link->io);
pcmcia_release_irq(link->handle, &link->irq);
link->state &= ~DEV_CONFIG;
return;
} /* qlogic_config */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment