diff options
Diffstat (limited to 'drivers/video/chipsfb.c')
| -rw-r--r-- | drivers/video/chipsfb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/chipsfb.c b/drivers/video/chipsfb.c index 57b9d276497e..fda91e4200a6 100644 --- a/drivers/video/chipsfb.c +++ b/drivers/video/chipsfb.c | |||
| @@ -461,10 +461,10 @@ static int chipsfb_pci_suspend(struct pci_dev *pdev, pm_message_t state) | |||
| 461 | if (!(state.event & PM_EVENT_SLEEP)) | 461 | if (!(state.event & PM_EVENT_SLEEP)) |
| 462 | goto done; | 462 | goto done; |
| 463 | 463 | ||
| 464 | acquire_console_sem(); | 464 | acquire_console_mutex(); |
| 465 | chipsfb_blank(1, p); | 465 | chipsfb_blank(1, p); |
| 466 | fb_set_suspend(p, 1); | 466 | fb_set_suspend(p, 1); |
| 467 | release_console_sem(); | 467 | release_console_mutex(); |
| 468 | done: | 468 | done: |
| 469 | pdev->dev.power.power_state = state; | 469 | pdev->dev.power.power_state = state; |
| 470 | return 0; | 470 | return 0; |
| @@ -474,10 +474,10 @@ static int chipsfb_pci_resume(struct pci_dev *pdev) | |||
| 474 | { | 474 | { |
| 475 | struct fb_info *p = pci_get_drvdata(pdev); | 475 | struct fb_info *p = pci_get_drvdata(pdev); |
| 476 | 476 | ||
| 477 | acquire_console_sem(); | 477 | acquire_console_mutex(); |
| 478 | fb_set_suspend(p, 0); | 478 | fb_set_suspend(p, 0); |
| 479 | chipsfb_blank(0, p); | 479 | chipsfb_blank(0, p); |
| 480 | release_console_sem(); | 480 | release_console_mutex(); |
| 481 | 481 | ||
| 482 | pdev->dev.power.power_state = PMSG_ON; | 482 | pdev->dev.power.power_state = PMSG_ON; |
| 483 | return 0; | 483 | return 0; |
