]> git.karo-electronics.de Git - linux-beck.git/commit
atmel_lcdfb: Use proper blanking on negative contrast polarity
authorAlexander Stein <alexander.stein@systec-electronic.com>
Wed, 5 Oct 2011 07:59:58 +0000 (09:59 +0200)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Fri, 11 Nov 2011 16:50:55 +0000 (16:50 +0000)
commitacfdc2e1bdb4b148e7546fe8948d8f75bd2f9377
tree558967596ab0d60d147b8c301b507c0fb4f0279d
parent5d910426a6e80194a50e33351c91abcad266c809
atmel_lcdfb: Use proper blanking on negative contrast polarity

If used with negative polarity the PWM unit cannot be disabled. This would
result in a full contrast screen.
Instead let the PWM unit enabled using 0x0 as compare value which darkens
the display.
In result no power saving is possible if inverted contrast polarity
is used.

Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/atmel_lcdfb.c