diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2014-03-13 23:17:52 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-03-14 13:43:10 +1000 |
commit | d2c65c24e94dca1e8fb16c851d0e2fe41bf5d1c6 (patch) | |
tree | 442d68877282be49c6f2a5266f1bd4de3ccad8c9 /src/mga_driver.c | |
parent | 0789f3f2799e6497e9e2e7488da679c03b7fa468 (diff) |
fix a type in previous lockup in the mga driver fix
Oh, I had a typo in that patch - so please commit this to fix it.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/mga_driver.c')
-rw-r--r-- | src/mga_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mga_driver.c b/src/mga_driver.c index 177a5a7..46478a6 100644 --- a/src/mga_driver.c +++ b/src/mga_driver.c @@ -3654,7 +3654,7 @@ MGAAdjustFrame(ADJUST_FRAME_ARGS_DECL) int vcount = INREG(MGAREG_VCOUNT); if (vcount >= count) break; if (vcount < last_vcount) break; - last_vcount = count; + last_vcount = vcount; } OUTREG16(MGAREG_CRTC_INDEX, (Base & 0x00FF00) | 0x0C); |