Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3837450ybg; Sun, 20 Oct 2019 22:55:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqwtN20gOXlRxOpeDYm4efEna+pSqMHJqHtKRn4pDTSkNMvXAlBRZUycnUhWEGtRujEO2g2F X-Received: by 2002:a17:906:6d84:: with SMTP id h4mr20757017ejt.262.1571637314536; Sun, 20 Oct 2019 22:55:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571637314; cv=none; d=google.com; s=arc-20160816; b=WhmgyEgTIPIAbJifB/u5ra6eBDecUldM6NdDkYDpwDzLCt5SFI+Qu7l3HceWl0m1fD 0SxaVDBxkcE69FhkW2EtuQ1Ff0vCT4jmzOqeB5PD0cMU6LIn4h3m+PFb5CNZzj2V/80A cY/MiSwYXr0ee/JJmSIkt/HnEoEcDwz9y+KJfftHo3T6k7tQj9Dv61+RuFwKMbX6SuX9 vtaWgpL0rdPV5sVAIkGUbyjs5X62wQsXQDqh6g52WDeutbHipRQp+Kq5gFdNFq/j6DTW pceyWxx8TTZmLej+mmdzoM1Bi/9TVHnzec50bztb9suzct/yUXaHsH6MxdFBUbJ//RrT 7pZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=agTpXvCTTB9wh7DBugiS1SMOpvplNNTL1004RlqbTps=; b=o4qs2F8PF+3ZP5rZvHVanah/17pQjFEma4f2kNXRr75bw7dn9iK5+Y29FvOE0BhMp0 a1U6R9r4b1k4+NYaTBheop4QNIEEPvhlr6tzFLmCoMm65BTujfmGDNgSq+8NClshYp+n chFU51cjs2NT4a86qco1fp1tF05tzerGeDVXjoVs6q2c0w1U/2nB+zUvpPh4LDYbrL0j 3auIksE/egDsNm4ngVAJGuRZrUVDjgOJTtdU+U3cVXqAygSgZNiLF8SqSob+L39vZTwd XHNKPhFDSpgVC4Zs4X+iYhDTjJk/O6QSuj7vJIih2ZE0IbLhYIxA5JCeb3VWzt1GNlWr 05xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=dy0NE2JV; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ni5si7805554ejb.184.2019.10.20.22.54.51; Sun, 20 Oct 2019 22:55: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=@chromium.org header.s=google header.b=dy0NE2JV; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727302AbfJUFyc (ORCPT + 99 others); Mon, 21 Oct 2019 01:54:32 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:37175 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726167AbfJUFy2 (ORCPT ); Mon, 21 Oct 2019 01:54:28 -0400 Received: by mail-pf1-f195.google.com with SMTP id y5so7694684pfo.4 for ; Sun, 20 Oct 2019 22:54:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=agTpXvCTTB9wh7DBugiS1SMOpvplNNTL1004RlqbTps=; b=dy0NE2JV2NoCiDdxCroYxnRuBoAKSlSsMWVmpKZ9481xU7i8pVhw4NYGcBY5eSKVmn rY5u70XMTEtwAB98UY8IMLRrrfx/MpkH3r11oJntxhbUT3FO4qALKi8finJbe3s7nKxy 4Q/krUxvl4JGy+F95QjajqGoihNkBgqHFo6Vs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=agTpXvCTTB9wh7DBugiS1SMOpvplNNTL1004RlqbTps=; b=rgtKjVaY/b1LQOsy7yZsEtxF419UYR8zn/tg3w17eJNDqqsmQxDiVGuBv2rcUzGzhb LsPt1EqlUcsu79iJsFqE5ndD7jv5aqYM67uOqX+vDD2mPv7orrIbocv8Ejzcjl6RezAz UcDhSy6vvSOMaNYIRy28YPImaYrlw87l0yaHcDh9IZA8e7IuaryrI0jzjpiUOsAmqCLu WmpPRyMKH6wSMKPHmWYvMjCh8rURnsn3iB1eghpquEdV2DDCJXCM6zqb7AL9YLvI9Olj Ulv5adfSSFcUC41zDfX+A5CRcorCGQYF1nGmoe76WWmbXwu2tBLhaAqCgFvRkXCZAuKy pR7Q== X-Gm-Message-State: APjAAAWt62CV3ToXm84o5pVai9Jxt3KqMMQJ0/m6KOvyn/jz41fAyMCz aafPdTF4rww+Yo8xZuobqZX63A== X-Received: by 2002:a63:3c47:: with SMTP id i7mr19600231pgn.237.1571637266080; Sun, 20 Oct 2019 22:54:26 -0700 (PDT) Received: from localhost ([2620:15c:202:1:3c8f:512b:3522:dfaf]) by smtp.gmail.com with ESMTPSA id s14sm13477263pfe.52.2019.10.20.22.54.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 20 Oct 2019 22:54:25 -0700 (PDT) From: Gwendal Grignou To: briannorris@chromium.org, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, lee.jones@linaro.org, bleung@chromium.org, enric.balletbo@collabora.com, dianders@chromium.org, groeck@chromium.org, fabien.lahoudere@collabora.com Cc: linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, Gwendal Grignou Subject: [PATCH v2 09/18] Revert "Input: cros_ec_keyb: mask out extra flags in event_type" Date: Sun, 20 Oct 2019 22:53:54 -0700 Message-Id: <20191021055403.67849-10-gwendal@chromium.org> X-Mailer: git-send-email 2.23.0.866.gb869b98d4c-goog In-Reply-To: <20191021055403.67849-1-gwendal@chromium.org> References: <20191021055403.67849-1-gwendal@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This reverts commit d096aa3eb6045a6a475a0239f3471c59eedf3d61. This patch is not needed anymore since we clear EC_MKBP_HAS_MORE_EVENTS flag before calling the notifiers in patch "9d9518f5b52a (platform: chrome: cros_ec: handle MKBP more events flag)" Signed-off-by: Gwendal Grignou --- New to v2. drivers/input/keyboard/cros_ec_keyb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/keyboard/cros_ec_keyb.c b/drivers/input/keyboard/cros_ec_keyb.c index a29e81fdf1861..2b71c5a51f907 100644 --- a/drivers/input/keyboard/cros_ec_keyb.c +++ b/drivers/input/keyboard/cros_ec_keyb.c @@ -237,7 +237,7 @@ static int cros_ec_keyb_work(struct notifier_block *nb, if (queued_during_suspend && !device_may_wakeup(ckdev->dev)) return NOTIFY_OK; - switch (ckdev->ec->event_data.event_type & EC_MKBP_EVENT_TYPE_MASK) { + switch (ckdev->ec->event_data.event_type) { case EC_MKBP_EVENT_KEY_MATRIX: pm_wakeup_event(ckdev->dev, 0); -- 2.23.0.866.gb869b98d4c-goog