]> 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)
commit538dd4f2d521f970b2c67c91763adc20f75ba65c
tree1bd0ccf4aebe577f986afbb12bed89180e1563ba
parentfa118f7479b0ec0e3d6710eae99a71f9c1bae01b
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