Re: [PATCH] platform/x86: thinkpad_acpi: re-initialize acpi buffer size when reuse
From: Andy Shevchenko
Date: Wed Sep 30 2020 - 09:55:48 EST
On Tue, Sep 29, 2020 at 11:20 AM Aaron Ma <aaron.ma@xxxxxxxxxxxxx> wrote:
>
> Evaluating acpi _BCL could be failed, then acpi buffer size will be set
'could be failed' -> 'could fail'
> to 0. When reuse this acpi buffer, AE_BUFFER_OVERFLOW will be triggered.
>
> Re-initialize buffer size will make acpi evaluate successfully.
acpi -> ACPI in all cases above.
Fixes tag, please?
> Signed-off-by: Aaron Ma <aaron.ma@xxxxxxxxxxxxx>
Code is okay.
--
With Best Regards,
Andy Shevchenko