diff options
Diffstat (limited to 'drivers/isdn/hisax/teles_cs.c')
-rw-r--r-- | drivers/isdn/hisax/teles_cs.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/isdn/hisax/teles_cs.c b/drivers/isdn/hisax/teles_cs.c index 7945fd64621a..929507eb63af 100644 --- a/drivers/isdn/hisax/teles_cs.c +++ b/drivers/isdn/hisax/teles_cs.c | |||
@@ -380,10 +380,7 @@ static int teles_suspend(struct pcmcia_device *p_dev) | |||
380 | dev_link_t *link = dev_to_instance(p_dev); | 380 | dev_link_t *link = dev_to_instance(p_dev); |
381 | local_info_t *dev = link->priv; | 381 | local_info_t *dev = link->priv; |
382 | 382 | ||
383 | link->state |= DEV_SUSPEND; | ||
384 | dev->busy = 1; | 383 | dev->busy = 1; |
385 | if (link->state & DEV_CONFIG) | ||
386 | pcmcia_release_configuration(link->handle); | ||
387 | 384 | ||
388 | return 0; | 385 | return 0; |
389 | } | 386 | } |
@@ -393,9 +390,6 @@ static int teles_resume(struct pcmcia_device *p_dev) | |||
393 | dev_link_t *link = dev_to_instance(p_dev); | 390 | dev_link_t *link = dev_to_instance(p_dev); |
394 | local_info_t *dev = link->priv; | 391 | local_info_t *dev = link->priv; |
395 | 392 | ||
396 | link->state &= ~DEV_SUSPEND; | ||
397 | if (link->state & DEV_CONFIG) | ||
398 | pcmcia_request_configuration(link->handle, &link->conf); | ||
399 | dev->busy = 0; | 393 | dev->busy = 0; |
400 | 394 | ||
401 | return 0; | 395 | return 0; |