summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAaron Ma <aaron.ma@canonical.com>2020-10-02 20:09:16 +0300
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-10-05 12:20:42 +0300
commit720ef73d1a239e33c3ad8fac356b9b1348e68aaf (patch)
tree483c869ff06cfeed8ecd40b450f0ee87f481b407 /include
parent9fb77799557d1537a059161bf645db7be9e358ae (diff)
downloadlinux-720ef73d1a239e33c3ad8fac356b9b1348e68aaf.tar.xz
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions