gma500@ Fix backlight range error
commit83c871ee2b60619d74d03eaf6f75a7d9c3cb0e45
authorAlan Cox <alan@linux.intel.com>
Fri, 15 Jul 2011 16:35:12 +0000 (15 17:35 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 15 Jul 2011 17:05:08 +0000 (15 19:05 +0200)
treee3138432e8b47d8645213a9b29b8f6f3d363da92
parentf642062fc7a6bebdd857408e7a9f678bfd2e4004
gma500@ Fix backlight range error

If we go out of range we break the pm counts on the error path

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/gma500/mrst_device.c