From patchwork Wed Jul 27 07:34:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 9249385 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5BA0E60757 for ; Wed, 27 Jul 2016 07:36:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4D07F2522B for ; Wed, 27 Jul 2016 07:36:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3EEF627BEE; Wed, 27 Jul 2016 07:36:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E98822522B for ; Wed, 27 Jul 2016 07:36:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751617AbcG0Hg1 (ORCPT ); Wed, 27 Jul 2016 03:36:27 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:36178 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751289AbcG0Hg0 (ORCPT ); Wed, 27 Jul 2016 03:36:26 -0400 Received: by mail-wm0-f65.google.com with SMTP id x83so5088835wma.3; Wed, 27 Jul 2016 00:36:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/8oCSkNI1phCGJx5y2J4hyM69oWbxuwx1wWkWSqViQY=; b=CmY2ghyuklhgFAcCPYRMr8MNJvfLIk3Xrtz+tix6PbgHhh/QLgGlUcXG1uYRobwgLm nyWHEeIJzsnbxkTblKNvg++MSdRUEfaqwQMTAerZv5dGZ+GYHcEnvA1NZFb0RiE4x1rb gk0Zhr6zzO9BtRo5DxiT3pxrNxt7y2OCcVETrPCMJnSqe3NkhoLZNuw6CsNrwpp2X+m4 oGllL/yW5R10aK9/0FGvlr+W36GZbYuzgNDeU03jKFIAt544vXWmXoPu3qvnbUeS914l EzxZ48IGLUkaILvbOx6ifzkqb45Rft+llsLDlmNGhC6GoWPFbek95jYhf+12qXO3rFPr zNnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=/8oCSkNI1phCGJx5y2J4hyM69oWbxuwx1wWkWSqViQY=; b=M1DEV46Jt5UKZsLjX9Yo62RkR+IQHryn2AKFqhknYu629sPuxnHuppO88yCGHLIr9i CRXwHUS8jnfBY8xLGU+yoQhPnqofmlfujfwGXFZX86ewjj2mLauSomLb5onlTMJXOJiv zYeZs3wPqO7BZoTw9NS0b23paL2i3y7IEVAI2+FYLpXIGDCbKPFHv8x3nf2rqKL4TD8e 0isestatVn5fkVHQMzkEZ316DdOBpeWAkIA0Q36z7RnZsj5ePuBdPqJpHeM30iuowUS8 TuE5WxHBAUwkaKrjLGWUGq29siexmIvJ4wq7zJc0cLJtJaC12/Vr4+ZyH7h6cbsSnYXl UzWQ== X-Gm-Message-State: AEkooutK+WdCWC2VnkrqyXxGzhmc1tpCWwXepYdw08HCTAaEQpEOSlyPmhtQ19xjFZ/MGQ== X-Received: by 10.28.198.6 with SMTP id w6mr15032205wmf.63.1469604984990; Wed, 27 Jul 2016 00:36:24 -0700 (PDT) Received: from atrey.karlin.mff.cuni.cz (atrey.karlin.mff.cuni.cz. [195.113.26.193]) by smtp.gmail.com with ESMTPSA id u72sm36849047wmf.5.2016.07.27.00.36.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Jul 2016 00:36:23 -0700 (PDT) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Matthew Garrett , Darren Hart , Gabriele Mazzotta , Mario_Limonciello@Dell.com Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Pali=20Roh=C3=A1r?= Subject: [PATCH] dell-wmi: Ignore WMI event 0xe00e Date: Wed, 27 Jul 2016 09:34:42 +0200 Message-Id: <1469604882-22169-1-git-send-email-pali.rohar@gmail.com> X-Mailer: git-send-email 1.7.10.4 MIME-Version: 1.0 Sender: platform-driver-x86-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP WMI event 0xe00e is received when battery was removed or inserted. Signed-off-by: Pali Rohár --- drivers/platform/x86/dell-wmi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c index d2bc092..da2fe18 100644 --- a/drivers/platform/x86/dell-wmi.c +++ b/drivers/platform/x86/dell-wmi.c @@ -110,8 +110,8 @@ static const struct key_entry dell_wmi_keymap_type_0000[] __initconst = { /* BIOS error detected */ { KE_IGNORE, 0xe00d, { KEY_RESERVED } }, - /* Unknown, defined in ACPI DSDT */ - /* { KE_IGNORE, 0xe00e, { KEY_RESERVED } }, */ + /* Battery was removed or inserted */ + { KE_IGNORE, 0xe00e, { KEY_RESERVED } }, /* Wifi Catcher */ { KE_KEY, 0xe011, { KEY_PROG2 } },