[PATCH] powermac backlight fixes
commitcab267c65f44337974e4f1eae490b21dce0e9811
authorMichael Hanselmann <linux-kernel@hansmi.ch>
Wed, 28 Jun 2006 11:26:55 +0000 (28 04:26 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 28 Jun 2006 21:59:06 +0000 (28 14:59 -0700)
treed752bda111449ae7e9b7c85988f2993a9a068128
parent96febe9fb7b04f2a078882d08bd6a997dee7cfa3
[PATCH] powermac backlight fixes

Fix a erroneous calculation of the legacy brightness values as reported by
Paul Collins.  Additionally, it moves the calculation of the negative value
in the radeonfb driver after the value check.

Signed-off-by: Michael Hanselmann <linux-kernel@hansmi.ch>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Paul Collins <paul@briny.ondioline.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/powerpc/platforms/powermac/backlight.c
drivers/video/aty/radeon_backlight.c