[PATCH] fbdev: Fix logo rotation if width != height
authorAntonino A. Daplas <adaplas@gmail.com>
Mon, 26 Jun 2006 07:26:56 +0000 (00:26 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 16:58:31 +0000 (09:58 -0700)
commitf837e6f73fe3f04594dad9829df6c7baa5b64a85
treeef08bf98f116c50189a5659137e7f6b6b1795b60
parent4efefd1d8ea4eaf71bacc4f71fa017c202fa67ec
[PATCH] fbdev: Fix logo rotation if width != height

Logo drawing crashes or produces a corrupt display if the logo width and
height are not equal.  The dimensions are transposed prior to the actual
rotation and the width is used instead of the height in the actual rotation
code.  These produce a corrupt image.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/fbmem.c