diff options
author | Len Brown <len.brown@intel.com> | 2008-11-11 21:14:01 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-11-11 21:14:01 -0500 |
commit | e911d27af43e7d28d59a96a4682e8942f0661469 (patch) | |
tree | e99c64ff7fe6ca40c3a0d7996bc6e604254fe239 /drivers/acpi | |
parent | 50f19e37c38e82c4fd2aa50fedbfa3aac7903e5a (diff) | |
parent | d21cf3c16b1191f3154a51e0b20c82bf851cc553 (diff) |
Merge branch 'bugzilla-11917' into release
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/ec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index ef42316f89f5..523ac5b229a5 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c | |||
@@ -736,7 +736,7 @@ static acpi_status | |||
736 | ec_parse_device(acpi_handle handle, u32 Level, void *context, void **retval) | 736 | ec_parse_device(acpi_handle handle, u32 Level, void *context, void **retval) |
737 | { | 737 | { |
738 | acpi_status status; | 738 | acpi_status status; |
739 | unsigned long long tmp; | 739 | unsigned long long tmp = 0; |
740 | 740 | ||
741 | struct acpi_ec *ec = context; | 741 | struct acpi_ec *ec = context; |
742 | status = acpi_walk_resources(handle, METHOD_NAME__CRS, | 742 | status = acpi_walk_resources(handle, METHOD_NAME__CRS, |
@@ -751,6 +751,7 @@ ec_parse_device(acpi_handle handle, u32 Level, void *context, void **retval) | |||
751 | return status; | 751 | return status; |
752 | ec->gpe = tmp; | 752 | ec->gpe = tmp; |
753 | /* Use the global lock for all EC transactions? */ | 753 | /* Use the global lock for all EC transactions? */ |
754 | tmp = 0; | ||
754 | acpi_evaluate_integer(handle, "_GLK", NULL, &tmp); | 755 | acpi_evaluate_integer(handle, "_GLK", NULL, &tmp); |
755 | ec->global_lock = tmp; | 756 | ec->global_lock = tmp; |
756 | ec->handle = handle; | 757 | ec->handle = handle; |