]> git.baikalelectronics.ru Git - kernel.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)
commit0835bbab1c12c1673482348606280f80d051f2a3
tree5705e72f02a264760cfe6a4c9cd7d022218a4f21
parent29230ba12c9ebdc4bb6e22babcaec9dfa3d76ff4
Revert "offb: Add palette hack for little endian"

This reverts commit 55ab1e228c2ea0c6249717cfebfb067bf69c24e1.

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