]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPFB: fix framebuffer console colors
authorGrazvydas Ignotas <notasas@gmail.com>
Sat, 4 Aug 2012 16:19:13 +0000 (19:19 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 10 Aug 2012 12:48:40 +0000 (15:48 +0300)
commit40d9fccafa19f6627138e46138e282b7dc075353
tree74196a4074a1d6383e2aead562dd4bf716d65512
parent7d0b7d28ab68524560fe2585a60c38ced3f37b51
OMAPFB: fix framebuffer console colors

omapfb does not currently set pseudo palette correctly for color depths
above 16bpp, making red text invisible, command like
  echo -e '\e[0;31mRED' > /dev/tty1
will display nothing on framebuffer console in 24bpp mode.
This is because temporary variable is declared incorrectly, fix it.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/omapfb/omapfb-main.c