Received: by 10.213.65.68 with SMTP id h4csp2131904imn; Sun, 8 Apr 2018 20:31:14 -0700 (PDT) X-Google-Smtp-Source: AIpwx49GTApOQLYdvMn45yfy9DRKh6LsJQ0CVrrvgzmoZTy7yQ/3AJLLN/MIgffNpt0t6r9P471Z X-Received: by 2002:a17:902:8c83:: with SMTP id t3-v6mr37262787plo.391.1523244674900; Sun, 08 Apr 2018 20:31:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523244674; cv=none; d=google.com; s=arc-20160816; b=VyzRaIGGv7BiNq7MLq/sJwrIdsmaj6G3LqYJ3lwtNKGUas/M5fffxQOkhQ/QP0mgII KKzOhwf8rxGzgx6DkmFZGdomhWe4S0gaumuw7oZpzHj8sqZvJC8argHUgSg3ZxFgfJLP 3DfCpxxaDuuXorivBdUl9Q6w1AgnvZ6PTf2DCgNnh7QfE7CfItMIIWlqq411vUTjbrA/ lfPtpCl4qUU0IXXIGGuRPDrvgle3gp96g4VD0kF0PhNKeusN4XydcjYSnQamHfFKS5np x325pwjnHNCQd55XASUnlC0D7JfX6DeWLBCwk0IKRjOeh4z3FjjiuzmIDRiB+dLP/hA+ J+hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=gA1NwsxNHO8M8hdwumij37By7D5iV0CG5C4S6wq3n1k=; b=i8rWxkxnnHYyZczOJ4T0DrfXks+pcGYu41evq7h3pxRHNV9M0o2KqjBfWeByWi/F83 oluuGeDqXP8n4HfenjKXAT+M+dpty9Q+ekEC/HMmbTQ56SRGvXbgMq18fNaEbQGDSzIA TSKXLC04j2puZPpwnijiZc+HbmVzclxoxl41kvy3NN4EiEANGVRqmbTEVhkVtEhFOWdU KkWzKn55MO90DKASGG2xs9sruol0h2Y7J4AK4oO9Mma3ZrYiYeulkn2QQcRToI+MF+9E Nf0N6JsyIGQNlDG9LszJrqIuJLGOOMy5w5kW+5JOe7eJXuva5CiiiN8eKNu3fPaSUFSb rKwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=SXl2npBP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x12-v6si3932880pll.207.2018.04.08.20.30.38; Sun, 08 Apr 2018 20:31:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=SXl2npBP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754483AbeDID0N (ORCPT + 99 others); Sun, 8 Apr 2018 23:26:13 -0400 Received: from mail-sn1nam02on0111.outbound.protection.outlook.com ([104.47.36.111]:52845 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754627AbeDIAWJ (ORCPT ); Sun, 8 Apr 2018 20:22:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=gA1NwsxNHO8M8hdwumij37By7D5iV0CG5C4S6wq3n1k=; b=SXl2npBPSa/5psDbYdB6k5Ldr2+4ihFSf61w3cWIb7NqYcN2XDmMrKIqzoeSox9SpnpKjAV0v5s0UWcSvV3Je/H5XZwdW4dRenDvJ83sUaJ9BaUy/8a+mn25YwomzcxPkRbRVsuvbJ2x70CegxH3PDvuhKWkZgQIe5z0tmL1i5U= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB0936.namprd21.prod.outlook.com (52.132.131.166) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.696.3; Mon, 9 Apr 2018 00:22:02 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059%2]) with mapi id 15.20.0696.003; Mon, 9 Apr 2018 00:22:02 +0000 From: Sasha Levin To: "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: Hans de Goede , Andy Shevchenko , Sasha Levin Subject: [PATCH AUTOSEL for 4.14 013/161] platform/x86: dell-laptop: Filter out spurious keyboard backlight change events Thread-Topic: [PATCH AUTOSEL for 4.14 013/161] platform/x86: dell-laptop: Filter out spurious keyboard backlight change events Thread-Index: AQHTz5h5a3eLbKAGiE+pEShnJAYPxA== Date: Mon, 9 Apr 2018 00:19:51 +0000 Message-ID: <20180409001936.162706-13-alexander.levin@microsoft.com> References: <20180409001936.162706-1-alexander.levin@microsoft.com> In-Reply-To: <20180409001936.162706-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR2101MB0936;7:bKlk41P4tbaByaCXgamT6cT6S5gtFIsGt6HBFajY9Xe41vhXS1ClUgX+uvpwRfYa3Sp/pOL3GoWm7ANM3pp1oUwozEG3n0J/oHJ9NHJRppjEGOds8IGdI7I3BmW3nPTCbXTn7IdVzquVRUrJWXknFt9AVaR4i5j+JLcFii/C/ey+cT9SG5SzjrO8B7sVjJZAXIH2mma/BRHVaYRgyTeBRaj4dI5QBQwGZOECOZWuhxERESZPQkZTvp6ifQs4UaiB;20:NoRdcTGTwcCz/lOVnEtDRSVcCFYjA5Rnv4cNXFS1vM/2KIBkaRUjUBJk4adT3mz7I7ypf5KaQvKIJhXFqTsnRa7nC2gmdoEpHMezkldj6rOymFJzKmTslfu9BZRd5VSIWxjRx2Gnuhx8SFQoP+pLrmyI/qCHhJ5bzDj3loRfYyg= x-ms-office365-filtering-ht: Tenant X-MS-Office365-Filtering-Correlation-Id: 2f95b1f3-9f52-44ff-dae6-08d59dafeabb x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020);SRVR:DM5PR2101MB0936; x-ms-traffictypediagnostic: DM5PR2101MB0936: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(85827821059158)(83566789882024)(211171220733660)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(61425038)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231221)(944501327)(52105095)(3002001)(10201501046)(6055026)(61426038)(61427038)(6041310)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:DM5PR2101MB0936;BCL:0;PCL:0;RULEID:;SRVR:DM5PR2101MB0936; x-forefront-prvs: 0637FCE711 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(39380400002)(39860400002)(396003)(376002)(366004)(199004)(189003)(3660700001)(36756003)(2501003)(76176011)(10290500003)(2616005)(5250100002)(3280700002)(478600001)(1076002)(72206003)(6436002)(53936002)(486006)(6306002)(476003)(4326008)(6486002)(107886003)(5660300001)(54906003)(110136005)(102836004)(2906002)(6116002)(3846002)(86612001)(81156014)(81166006)(6666003)(8936002)(305945005)(8676002)(2900100001)(6506007)(68736007)(14454004)(106356001)(105586002)(25786009)(966005)(6512007)(86362001)(99286004)(446003)(59450400001)(10090500001)(11346002)(316002)(26005)(7736002)(66066001)(186003)(22452003)(97736004)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR2101MB0936;H:DM5PR2101MB1032.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: MeoAKLUmcERRJbAhqbY9QZfKkAkSRC7Q54vlzdOY/aTX++tFiICwLOGfL66R/Zr5OVcGs0TgD0JyOGWWrJj7+nnS6xmq5sWz++uPXaP7VDknhI4eskekI0oYI5Iku2eZSQWUiO5IctsKzfYJayxTPvBgahvqyAIJ19aZb08omosqwqtFyk2/1NYt3fp5hW/IDhqi/33H7t2SaSZlMtkesfDSEjERAtT0pgqhkSX+ocXeNo6oabWArV27n4hzGkzWR6WqHeRF9qyCFNkvwcHZBoyRDQDoeY2JSIm6qP/m0em3HKsuLEDjWMkXvVnQzcsVRWzXuKRbhOobr+SXK5YAK94L0ge2fEfU2vDMWJckI0tVv7FGcZM+gRp3jKZvU6pHqx4/pNB1iGncZLPb8ZJ4L4YU0HAWWSo4aQyVw+pi6dI= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2f95b1f3-9f52-44ff-dae6-08d59dafeabb X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2018 00:19:51.3638 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB0936 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogSGFucyBkZSBHb2VkZSA8aGRlZ29lZGVAcmVkaGF0LmNvbT4NCg0KWyBVcHN0cmVhbSBj b21taXQgNGQ2YmRlNTEyYTg2YzMyZGYzYTFmMjg5ZDJiNGNkMDRiMTc3NThkMSBdDQoNCk9uIHNv bWUgRGVsbCBYUFMgbW9kZWxzIFdNSSBldmVudHMgb2YgdHlwZSAweDAwMDAgcmVwb3J0aW5nIGEg a2V5Y29kZSBvZg0KMHhlMDBjIGdldCByZXBvcnRlZCB3aGVuIHRoZSBicmlnaHRuZXNzIG9mIHRo ZSBMQ0QgcGFuZWwgY2hhbmdlcy4NCg0KVGhpcyBsZWFkcyB0byB1cyByZXBvcnRpbmcgZmFsc2Ut cG9zaXRpdmUga2JkX2xlZCBjaGFuZ2UgZXZlbnRzIHRvDQp1c2Vyc3BhY2Ugd2hpY2ggaW4gdHVy biBsZWFkcyB0byB0aGUga2JkIGJhY2tsaWdodCBPU0Qgc2hvd2luZyB3aGVuIGl0DQpzaG91bGQg bm90Lg0KDQpXZSBhbHJlYWR5IHJlYWQgdGhlIGN1cnJlbnQga2V5Ym9hcmQgYmFja2xpZ2h0IGJy aWdodG5lc3MgdmFsdWUgd2hlbg0KcmVwb3J0aW5nIGV2ZW50cyBiZWNhdXNlIHRoZSBsZWRfY2xh c3NkZXZfbm90aWZ5X2JyaWdodG5lc3NfaHdfY2hhbmdlZA0KQVBJIHJlcXVpcmVzIHRoaXMuIENv bXBhcmUgdGhpcyB2YWx1ZSB0byB0aGUgbGFzdCBrbm93biB2YWx1ZSBhbmQgZmlsdGVyDQpvdXQg ZHVwbGljYXRlIGV2ZW50cywgZml4aW5nIHRoaXMuDQoNCk5vdGUgdGhlI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