]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / RTC: Fix CMOS RTC opregion handler accesses to wrong addresses
authorLee, Chun-Yi <joeyli.kernel@gmail.com>
Thu, 4 Sep 2014 07:13:39 +0000 (15:13 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 8 Sep 2014 13:38:41 +0000 (15:38 +0200)
commit568666d85cebbfafcc865ae1b5339a3280555b15
treef3221dc16182f9dc090f3d85c3e41e45181bbe9a
parentb982d29d3df0cbb1f103209051766d99b860ab08
ACPI / RTC: Fix CMOS RTC opregion handler accesses to wrong addresses

The value64 parameter is an u64 point that used to transfer the value
for write to CMOS, or used to return the value that's read from CMOS.

The value64 is an u64 point, so don't need get address again. It causes
acpi_cmos_rtc_space_handler always return 0 to reader and didn't write
expected value to CMOS.

Signed-off-by: Lee, Chun-Yi <jlee@suse.com>
Cc: 3.11+ <stable@vger.kernel.org> # 3.11+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_cmos_rtc.c