Skip to content
Commit 44174927 authored by Mattia Dongili's avatar Mattia Dongili Committed by Greg Kroah-Hartman
Browse files

platform/x86: sony-laptop: SNC calls should handle BUFFER types

commit 47828d22 upstream.

After commit 6d232b29 ("ACPICA: Dispatcher: always generate buffer
objects for ASL create_field() operator") ACPICA creates buffers even
when new fields are small enough to fit into an integer.
Many SNC calls counted on the old behaviour.
Since sony-laptop already handles the INTEGER/BUFFER case in
sony_nc_buffer_call, switch sony_nc_int_call to use its more generic
function instead.

Fixes: 6d232b29

 ("ACPICA: Dispatcher: always generate buffer objects for ASL create_field() operator")
Reported-by: default avatarDominik Mierzejewski <dominik@greysector.net>
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=207491


Reported-by: default avatarWilliam Bader <williambader@hotmail.com>
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1830150


Signed-off-by: default avatarMattia Dongili <malattia@linux.it>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2bdc48dc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment