atmel_lcdfb: use spare bits in 32bpp mode as alpha channel
commit4440e0e11d2e9eb13e6edf44f89019e4f8a4dd58
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Sat, 21 Jul 2007 11:38:02 +0000 (21 04:38 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 22 Jul 2007 00:49:17 +0000 (21 17:49 -0700)
tree1a65068383672dfb34f04bc5a190d1dbfea64eac
parent7cc90249ff0e21c526532ce5b5ba35c07c8b8389
atmel_lcdfb: use spare bits in 32bpp mode as alpha channel

Set var->transp.offset and var->transp.length in 32bpp mode to indicate
that the 8 otherwise unused bits can be used for transparency.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@rfo.atmel.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/atmel_lcdfb.c