From: David S. Miller Date: Mon, 7 Nov 2005 22:09:44 +0000 (-0800) Subject: [SPARC]: Remove bogus register programming in cg6 driver. X-Git-Tag: v2.6.15-rc1~422^2~17 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c85ce522fc4bf1b8fcd6255fadc11cfb75773df;p=linux-2.6 [SPARC]: Remove bogus register programming in cg6 driver. Don't write garbage into the overlay plane. Noted by Bob Breuer. Signed-off-by: David S. Miller --- diff --git a/drivers/video/cg6.c b/drivers/video/cg6.c index 3280bb9560..414c4409e9 100644 --- a/drivers/video/cg6.c +++ b/drivers/video/cg6.c @@ -653,12 +653,6 @@ static void cg6_chip_init(struct fb_info *info) sbus_writel(0, &fbc->clipminy); sbus_writel(info->var.xres - 1, &fbc->clipmaxx); sbus_writel(info->var.yres - 1, &fbc->clipmaxy); - - /* Disable cursor in Brooktree DAC. */ - sbus_writel(0x06 << 24, &par->bt->addr); - tmp = sbus_readl(&par->bt->control); - tmp &= ~(0x03 << 24); - sbus_writel(tmp, &par->bt->control); } struct all_info {