Commit 31557ea0 authored by Binbin Zhou's avatar Binbin Zhou Committed by Greg Kroah-Hartman

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: default avatarBinbin Zhou <zhoubb@lemote.com>
Reviewed-by: default avatarHuacai Chen <chenhc@lemote.com>
Reviewed-by: default avatarTeddy Wang <teddy.wang@siliconmotion.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent aeec43da
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment