]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Revert "offb: Add palette hack for little endian"
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 16 Jun 2014 09:40:20 +0000 (19:40 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 16 Jun 2014 09:45:45 +0000 (19:45 +1000)
commit68986c9f0f4552c34c248501eb0c690553866d6e
tree5705e72f02a264760cfe6a4c9cd7d022218a4f21
parent7171511eaec5bf23fb06078f59784a3a0626b38f
Revert "offb: Add palette hack for little endian"

This reverts commit e1edf18b20076da83dd231dbd2146cbbc31c0b14.

This patch was a misguided attempt at fixing offb for LE ppc64
kernels on BE qemu but is just wrong ... it breaks real LE/LE
setups, LE with real HW, and existing mixed endian systems
that did the fight thing with the appropriate device-tree
property. Bad reviewing on my part, sorry.

The right fix is to either make qemu change its endian when
the guest changes endian (working on that) or to use the
existing foreign endian support.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: <stable@vger.kernel.org> [v3.13+]
---
drivers/video/fbdev/offb.c