diff options
Diffstat (limited to 'sound/pcmcia/pdaudiocf/pdaudiocf.c')
-rw-r--r-- | sound/pcmcia/pdaudiocf/pdaudiocf.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/pcmcia/pdaudiocf/pdaudiocf.c b/sound/pcmcia/pdaudiocf/pdaudiocf.c index a2d3eb47f83c..80c53553b815 100644 --- a/sound/pcmcia/pdaudiocf/pdaudiocf.c +++ b/sound/pcmcia/pdaudiocf/pdaudiocf.c | |||
@@ -273,9 +273,7 @@ static void pdacf_config(dev_link_t *link) | |||
273 | cs_failed: | 273 | cs_failed: |
274 | cs_error(link->handle, last_fn, last_ret); | 274 | cs_error(link->handle, last_fn, last_ret); |
275 | failed: | 275 | failed: |
276 | pcmcia_release_configuration(link->handle); | 276 | pcmcia_disable_device(link->handle); |
277 | pcmcia_release_io(link->handle, &link->io); | ||
278 | pcmcia_release_irq(link->handle, &link->irq); | ||
279 | } | 277 | } |
280 | 278 | ||
281 | #ifdef CONFIG_PM | 279 | #ifdef CONFIG_PM |