commit | 6273f00e6ecbd60494a979033b7e5271a29a0436 | [log] [tgz] |
---|---|---|
author | Lv Zheng <lv.zheng@intel.com> | Wed Apr 16 21:24:34 2014 +0800 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon Apr 21 23:12:12 2014 +0200 |
tree | 28df5f0062ecc4ec748b9b89172bd0e520e7fd81 | |
parent | a798c10faf62a505d24e5f6213fbaf904a39623f [diff] |
ACPICA: Fix buffer allocation issue for generic_serial_bus region accesses. The size of the buffer allocated for generic_serial_bus region access is not correct. This patch introduces acpi_ex_get_serial_access_length() to be invoked to obtain correct data buffer length. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Reported by: Lan Tianyu <tianyu.lan@intel.com> Acked-by: Lan Tianyu <tianyu.lan@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>