Skip to content

Commit 99cdb24

Browse files
gwendalcrEnric Balletbo i Serra
authored andcommitted
Revert "Input: cros_ec_keyb: mask out extra flags in event_type"
This reverts commit d096aa3. 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 <[email protected]> Acked-by: Dmitry Torokhov <[email protected]> Signed-off-by: Enric Balletbo i Serra <[email protected]>
1 parent 3bcce2e commit 99cdb24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/input/keyboard/cros_ec_keyb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ static int cros_ec_keyb_work(struct notifier_block *nb,
237237
if (queued_during_suspend && !device_may_wakeup(ckdev->dev))
238238
return NOTIFY_OK;
239239

240-
switch (ckdev->ec->event_data.event_type & EC_MKBP_EVENT_TYPE_MASK) {
240+
switch (ckdev->ec->event_data.event_type) {
241241
case EC_MKBP_EVENT_KEY_MATRIX:
242242
pm_wakeup_event(ckdev->dev, 0);
243243

0 commit comments

Comments
 (0)