staging: sm750fb: Fix the power state error in resume

The PM_EVENT_RESUME state is needed when SM750 resume, otherwise it
will be failed in the second time of continuous suspend/resume.

Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Binbin Zhou <zhoubb@lemote.com>
Reviewed-by: Huacai Chen <chenhc@lemote.com>
Reviewed-by: Teddy Wang <teddy.wang@siliconmotion.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Binbin Zhou 2015-10-12 09:48:27 +08:00 коммит произвёл Greg Kroah-Hartman
Родитель aeec43da3e
Коммит 31557ea033
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -511,6 +511,7 @@ static int lynxfb_resume(struct pci_dev *pdev)
fb_set_suspend(info, 0);
}
pdev->dev.power.power_state.event = PM_EVENT_RESUME;
console_unlock();
return ret;
}