]> git.baikalelectronics.ru Git - kernel.git/commit
offb: Little endian fixes
authorCedric Le Goater <clg@fr.ibm.com>
Wed, 4 Dec 2013 16:49:51 +0000 (17:49 +0100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 10 Dec 2013 00:25:06 +0000 (11:25 +1100)
commitd95a2c458d2d1613c8dc625186191020d13743f4
tree1bd0ccf4aebe577f986afbb12bed89180e1563ba
parentb964c5eecd17bf9a3a90080e1ff9213acf7cdaae
offb: Little endian fixes

The "screen" properties : depth, width, height, linebytes need
to be converted to the host endian order when read from the device
tree.

The offb_init_palette_hacks() routine also made assumption on the
host endian order.

Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/video/offb.c