X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fvideo%2Fchipsfb.c;h=777389c40988812c29f5ad31c7c04cc700f6f690;hb=85b80ebfa4384b8ea30cc1af9617db30319a9ccd;hp=6796ba62c3c6ca849d599e1ff74075168aad6855;hpb=6869ce1c145aaea9f9f8eb8623a261d316b0cd19;p=linux-2.6 diff --git a/drivers/video/chipsfb.c b/drivers/video/chipsfb.c index 6796ba62c3..777389c409 100644 --- a/drivers/video/chipsfb.c +++ b/drivers/video/chipsfb.c @@ -459,7 +459,7 @@ static int chipsfb_pci_suspend(struct pci_dev *pdev, pm_message_t state) if (state.event == pdev->dev.power.power_state.event) return 0; - if (state.event != PM_EVENT_SUSPEND) + if (!(state.event & PM_EVENT_SLEEP)) goto done; acquire_console_sem();