OpenCloudOS-Kernel/drivers/video/i810
Stefan Bauer b691da35ba i810fb: fix console switch regression
Since 4c7ffe0b9f ("fbdev: prevent drivers that
have hardware cursors from calling software cursor code") every call of
i810fb_cursor fails with -ENXIO because of a incorrect "!".

This hasn't struck until eaa0ff15c3 ("fix !
versus & precedence in various places") surrounded the expression with braces,
so that the intended behavior was inverted.  That caused 'pixel waste' - the
same line of multi-colored pixels repeated over the whole screen - during
console switch.

This switches back to the original pre-4c7ffe0 behavior.

Signed-off-by: Stefan Bauer <stefan.bauer@cs.tu-chemnitz.de>
Tested-by: Stefan Bauer <stefan.bauer@cs.tu-chemnitz.de>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Antonino Daplas <adaplas@pol.net>
Cc: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-03-19 18:53:36 -07:00
..
Makefile [PATCH] i810fb: Add i2c/DDC support 2005-09-09 14:03:41 -07:00
i810-i2c.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
i810.h i810fb: the pseudo_palette is only 16 elements long 2007-07-17 10:23:12 -07:00
i810_accel.c [PATCH] drivers/video/: possible cleanups 2006-01-10 08:01:56 -08:00
i810_dvt.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i810_gtf.c [PATCH] drivers/video/: possible cleanups 2006-01-10 08:01:56 -08:00
i810_main.c i810fb: fix console switch regression 2008-03-19 18:53:36 -07:00
i810_main.h [PATCH] drivers/video/: possible cleanups 2006-01-10 08:01:56 -08:00
i810_regs.h [PATCH] i810fb: Cleanup I2C code 2005-11-07 07:53:52 -08:00