[PATCH 14/16] Remove cursor restore hack in viafb

From: Jonathan Corbet
Date: Thu Apr 08 2010 - 13:18:45 EST


From: Deepak Saxena <dsaxena@xxxxxxxxxx>

Signed-off-by: Deepak Saxena <dsaxena@xxxxxxxxxx>
---
drivers/video/via/viafbdev.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/drivers/video/via/viafbdev.c b/drivers/video/via/viafbdev.c
index 56d5416..684a5c4 100644
--- a/drivers/video/via/viafbdev.c
+++ b/drivers/video/via/viafbdev.c
@@ -1940,15 +1940,6 @@ static int viafb_resume(struct pci_dev *pdev)
viaVidEng->cursor_bg = localVidEng->cursor_bg;
viaVidEng->cursor_fg = localVidEng->cursor_fg;

- /*
- * Magic register dance to make cursor reappear.
- *
- * Currently hardcoded settings need to clean this all
- * up later...
- */
- viaVidEng->hi_control = 0xb6000005;
- viaVidEng->compose |= 0xc0000000;
-
fb_set_suspend(viafbinfo, 0);

fail:
--
1.7.0.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/