staging: sm750fb: Fix the power state error in resume
authorBinbin Zhou <zhoubb@lemote.com>
Mon, 12 Oct 2015 01:48:27 +0000 (09:48 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Oct 2015 03:33:51 +0000 (20:33 -0700)
commit31557ea0337eb3db5937f441bfa028caba5836d6
treeed6a4e4880c63d192bca094939e581feea7d97ac
parentaeec43da3e4927e33b598b05925046eb1ab9d963
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>
drivers/staging/sm750fb/sm750.c