]> 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)
commitb3087605f9d98d9be43f838380394c00e9589275
tree5705e72f02a264760cfe6a4c9cd7d022218a4f21
parent081ef54181a1ff0d2c7e189052277797ff8dd0dd
Revert "offb: Add palette hack for little endian"

This reverts commit 3b6d25066f0abcc288a63c2d8dc13611bcf84be9.

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