Johan Hovold a79eac7165 atmel_lcdfb: fix 16-bpp modes on older SOCs
Fix regression introduced by commit 787f9fd23283 ("atmel_lcdfb: support
16bit BGR:565 mode, remove unsupported 15bit modes") which broke 16-bpp
modes for older SOCs which use IBGR:555 (msb is intensity) rather
than BGR:565.

Use SOC-type to determine the pixel layout.

Tested on at91sam9263 and at91sam9g45.

Cc: <stable@vger.kernel.org>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
2013-03-13 10:54:58 +01:00
..
2013-02-22 23:31:31 -05:00
2013-02-21 15:33:45 -08:00
2011-10-03 15:52:38 +00:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2013-02-22 23:31:31 -05:00
2013-01-24 09:04:04 +01:00
2013-02-21 17:22:17 -08:00
2012-02-15 04:31:21 +00:00
2012-01-22 14:50:02 +01:00
2011-09-14 16:40:52 +00:00
2013-01-08 18:53:56 -08:00
2012-10-12 10:21:02 +09:00
2011-06-24 17:14:39 +09:00
2011-07-04 16:02:48 +09:00