summaryrefslogtreecommitdiff
path: root/drivers/base
diff options
context:
space:
mode:
authorAaron Ma <aaron.ma@canonical.com>2020-10-03 01:09:16 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-14 10:32:58 +0200
commit3fd2647f9d687295c96865d0713e20c79924c6d5 (patch)
tree3b40147db0625973fe63dd5e182276cab0763e1d /drivers/base
parentda4cdc87dfeb596da0fa2e14d70e4f2648bee839 (diff)
downloadlinux-3fd2647f9d687295c96865d0713e20c79924c6d5.tar.gz
linux-3fd2647f9d687295c96865d0713e20c79924c6d5.tar.bz2
linux-3fd2647f9d687295c96865d0713e20c79924c6d5.zip
platform/x86: thinkpad_acpi: re-initialize ACPI buffer size when reuse
commit 720ef73d1a239e33c3ad8fac356b9b1348e68aaf upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions