diff options
author | Frans Klaver <fransklaver@gmail.com> | 2014-10-22 23:12:43 +0400 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2014-11-19 20:07:08 +0300 |
commit | efef87296eb6bf7b9a21b16f81a6ddd5ee33b513 (patch) | |
tree | 619c1e07558a4ac77f2da5f36946e2b401504080 /sound | |
parent | 148a5dd5ccc25581b44a38079128f49e47353713 (diff) | |
download | linux-efef87296eb6bf7b9a21b16f81a6ddd5ee33b513.tar.xz |
eeepc-laptop: don't assume get_acpi succeeds
In eeepc_hotk_thaw, we assume that get_acpi() will effectively return a
bool. However, it is possible that get_acpi() returns an error instead.
We should not be writing error values to the ACPI device, even though
it's quite possible that we couldn't contact the ACPI device in the
first place.
Signed-off-by: Frans Klaver <fransklaver@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions