lkml.org 
[lkml]   [2023]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH AUTOSEL 6.6 31/31] platform/x86: thinkpad_acpi: Add battery quirk for Thinkpad X120e
    Date
    From: Olli Asikainen <olli.asikainen@gmail.com>

    [ Upstream commit 916646758aea81a143ce89103910f715ed923346 ]

    Thinkpad X120e also needs this battery quirk.

    Signed-off-by: Olli Asikainen <olli.asikainen@gmail.com>
    Link: https://lore.kernel.org/r/20231024190922.2742-1-olli.asikainen@gmail.com
    Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
    Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    drivers/platform/x86/thinkpad_acpi.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c
    index 41584427dc323..a46fc417cb200 100644
    --- a/drivers/platform/x86/thinkpad_acpi.c
    +++ b/drivers/platform/x86/thinkpad_acpi.c
    @@ -9816,6 +9816,7 @@ static const struct tpacpi_quirk battery_quirk_table[] __initconst = {
    * Individual addressing is broken on models that expose the
    * primary battery as BAT1.
    */
    + TPACPI_Q_LNV('8', 'F', true), /* Thinkpad X120e */
    TPACPI_Q_LNV('J', '7', true), /* B5400 */
    TPACPI_Q_LNV('J', 'I', true), /* Thinkpad 11e */
    TPACPI_Q_LNV3('R', '0', 'B', true), /* Thinkpad 11e gen 3 */
    --
    2.42.0
    \
     
     \ /
      Last update: 2023-11-20 13:51    [W:9.230 / U:0.112 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site