drivers/video/ssd1307fb.c: fix bit order bug in the byte translation function
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 11 Jan 2013 22:31:43 +0000 (14:31 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 11 Jan 2013 22:54:54 +0000 (14:54 -0800)
commit552f0cc72aadfc8657876ce310e7a8dc37529536
tree0d7138471797e8b7b08f02621fac2b02790f6726
parent04fa5d6a6547fbfcf613efd00637666fe19b24ab
drivers/video/ssd1307fb.c: fix bit order bug in the byte translation function

This was leading to a strange behaviour when using the fbcon driver on
top of this one: the letters were in the right order, but each letter
had a vertical symmetry.

This was because the addressing was right for the byte, but the
addressing of each individual bit was inverted.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Brian Lilly <brian@crystalfontz.com>
Cc: Greg Kroah-Hartman <gregkh@linux-foundation.org>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Thomas Petazzoni <thomas@free-electrons.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/ssd1307fb.c