提交 5d55779a 编写于 作者: A Arve Hjønnevåg 提交者: David Brown

msm_fb: Fix framebuffer console

Don't allow non panning updates to bypass the wait for the panel to turn on.
Signed-off-by: NCarl Vanderlip <carlv@codeaurora.org>
Signed-off-by: NArve Hjønnevåg <arve@android.com>
Signed-off-by: NDavid Brown <davidb@codeaurora.org>
上级 a8d380f3
......@@ -219,8 +219,8 @@ static void msmfb_pan_update(struct fb_info *info, uint32_t left, uint32_t top,
sleeping = msmfb->sleeping;
/* on a full update, if the last frame has not completed, wait for it */
if (pan_display && (msmfb->frame_requested != msmfb->frame_done ||
sleeping == UPDATING)) {
if ((pan_display && msmfb->frame_requested != msmfb->frame_done) ||
sleeping == UPDATING) {
int ret;
spin_unlock_irqrestore(&msmfb->update_lock, irq_flags);
ret = wait_event_interruptible_timeout(msmfb->frame_wq,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册