projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b128254
)
[SPARC]: Remove bogus register programming in cg6 driver.
author
David S. Miller
<davem@davemloft.net>
Mon, 7 Nov 2005 22:09:44 +0000
(14:09 -0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 7 Nov 2005 22:09:44 +0000
(14:09 -0800)
Don't write garbage into the overlay plane.
Noted by Bob Breuer.
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/video/cg6.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/cg6.c
b/drivers/video/cg6.c
index 3280bb9560e26b2f1ddf9b79511ac1aac7643b84..414c4409e92468e0d43c68b3f5d971f84830e3cb 100644
(file)
--- 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 {