commit | c35d4b3532ed3e2076fb14c25385cf6cef41cc69 | [log] [tgz] |
---|---|---|
author | Mattia Dongili <malattia@linux.it> | Sun Apr 12 11:26:30 2009 +0000 |
committer | Len Brown <len.brown@intel.com> | Thu Apr 23 23:57:34 2009 -0400 |
tree | 958a8409fc348a48ac9185981c5b66bde6e53897 | |
parent | 5aa63f038f042fd1acd6e720a95df72857db0bc7 [diff] |
sony-laptop: fix bogus error message display on resume sony_backlight_update_status returns 0 on success -1 on failure (i.e.: the return value from acpi_callsetfunc. The return value in the resume path was broken and thus always displaying a bogus warning about not being able to restore the brightness level. Signed-off-by: Mattia Dongili <malattia@linux.it> Signed-off-by: Len Brown <len.brown@intel.com>