commit | 720ef73d1a239e33c3ad8fac356b9b1348e68aaf | [log] [tgz] |
---|---|---|
author | Aaron Ma <aaron.ma@canonical.com> | Sat Oct 03 01:09:16 2020 +0800 |
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Mon Oct 05 12:20:42 2020 +0300 |
tree | 483c869ff06cfeed8ecd40b450f0ee87f481b407 | |
parent | 9fb77799557d1537a059161bf645db7be9e358ae [diff] |
platform/x86: thinkpad_acpi: re-initialize ACPI buffer size when reuse Evaluating ACPI _BCL could fail, then ACPI buffer size will be set to 0. When reuse this ACPI buffer, AE_BUFFER_OVERFLOW will be triggered. Re-initialize buffer size will make ACPI evaluate successfully. Fixes: 46445b6b896fd ("thinkpad-acpi: fix handle locate for video and query of _BCL") Signed-off-by: Aaron Ma <aaron.ma@canonical.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>