diff options
author | Robert Noland <rnoland@wombat.2hip.net> | 2008-06-08 23:46:14 -0400 |
---|---|---|
committer | Robert Noland <rnoland@wombat.2hip.net> | 2008-06-08 23:46:14 -0400 |
commit | 63eb58040deff42e8272f1a580f7fd947af1b488 (patch) | |
tree | f05fb2df1e4c7f9818a25459ec00bef4cd1d1623 | |
parent | 116870a908edd8da02381d23694b321e8878f92e (diff) |
Fix typo in i915_suspend
Reported by vehemens
-rw-r--r-- | shared-core/i915_suspend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/i915_suspend.c b/shared-core/i915_suspend.c index 27c82b48..d93bf6b3 100644 --- a/shared-core/i915_suspend.c +++ b/shared-core/i915_suspend.c @@ -149,7 +149,7 @@ static void i915_save_vga(struct drm_device *dev) i915_write_indexed(dev, cr_index, cr_data, 0x11, i915_read_indexed(dev, cr_index, cr_data, 0x11) & (~0x80)); - for (i = 0; i < 0x24; i++) + for (i = 0; i <= 0x24; i++) dev_priv->saveCR[i] = i915_read_indexed(dev, cr_index, cr_data, i); /* Make sure we don't turn off CR group 0 writes */ |