]> git.ipfire.org Git - people/ms/linux.git/commit
offb: Little endian fixes
authorCedric Le Goater <clg@fr.ibm.com>
Wed, 4 Dec 2013 16:49:51 +0000 (17:49 +0100)
committerJiri Slaby <jslaby@suse.cz>
Tue, 26 Aug 2014 12:12:06 +0000 (14:12 +0200)
commit0e8701c008436378d89f97e438ed8ded0debc7d4
tree2f1cef43c9accc328a6c10157b35cdc0a636ab0c
parent056a01ab3c65605a16aa4841de0530d9d3d66b9f
offb: Little endian fixes

commit 212c0cbd5be721a39ef3e2f723e0c78008f9e955 upstream.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/video/offb.c