Skip to content
Commit 2d8357e6 authored by Ryan Mallon's avatar Ryan Mallon Committed by Dave Airlie
Browse files

gma500: Fix suspend/resume functions



Both the suspend and resume functions incorrectly set psbfb =
to_psb_fb(NULL) outside of the loop over all of the framebuffers. Fix
this by moving the assignment of psbfb inside the loop and removing the
initialisation of fb.

Signed-off-by: default avatarRyan Mallon <rmallon@gmail.com>
Acked-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 24a7eb79
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