Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp52862ybg; Mon, 27 Jul 2020 15:21:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJymilJePZDkXGiYnnAvikiJYxtqdLrixoKg081SpIHSKhadDo8MRNvjHRR+ndBDDHntVSpi X-Received: by 2002:a05:6402:1250:: with SMTP id l16mr23984498edw.362.1595888470352; Mon, 27 Jul 2020 15:21:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595888470; cv=none; d=google.com; s=arc-20160816; b=rb4QbR/n3UUBd6JCEb+ZDFT/p/mYXadTWtfxA550FgDk5mo/iRPd8tJNgjMvfqmntz CDS5uQD75z942W25ea8+Tn7qcz0hGJeewJ7+/8aCTvlfoGcwo5j1u3DruBgUQevNKxn6 hcL8Xosegsu4YOqqtAesbru+h3Eg1Ux/Jn8720vQ9IqCd5bryvpNi4ZdYHjYHy2xffT5 DjSKHQaBNA08o6R1neUueGm80hT+xFtR0E33ZSQszziSXegClLeqlwQfzIJ1WZF3vXHd NCVgByPVeBx59ViWQzE355kYZR+aj/R/U8Z5zUdc+I7oqtHhGBD6XK6nF6dyUQ2kiyaE zg/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=y4AToGLC11QYNl1KBQKdNwb699xIlG7oY11nGnEUTfA=; b=IhypDlMERSY6iCooPviRyE3DRGHWS6nMhB0C3/ewufqge3YgRLozJFvtyGZ5Hgq7rC SgFhvrwHsA6yGHDnEqpLbzjjbEtQ0vBZGGNnwfRAhv44aI2dhMSz3+evIuizimEI4OWW GQDZfPbYpRVLdRnAqYqy8jfPy/uN3I2caLRIfu8Ab0Zo7u5sXpcakte5ftm5ZbnDCbBV NQyQF9qjxVjv5V4AwE40jh0scwe0e4Grao50ZB+w6vp3V3a4k2a+myLFGg8MbArqwD6a s8qQgjq1MMCK0FFEjuvJ7JfIxD7X0YP0fObN5EYGdie0JF2k4odPLrraljehZeHNr03v oFgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=KIMvTjtL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id t7si2531620edt.100.2020.07.27.15.20.48; Mon, 27 Jul 2020 15:21:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=KIMvTjtL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726821AbgG0WST (ORCPT + 99 others); Mon, 27 Jul 2020 18:18:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726171AbgG0WST (ORCPT ); Mon, 27 Jul 2020 18:18:19 -0400 Received: from mail-yb1-xb43.google.com (mail-yb1-xb43.google.com [IPv6:2607:f8b0:4864:20::b43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA384C0619D2 for ; Mon, 27 Jul 2020 15:18:18 -0700 (PDT) Received: by mail-yb1-xb43.google.com with SMTP id y134so4314733yby.2 for ; Mon, 27 Jul 2020 15:18:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=y4AToGLC11QYNl1KBQKdNwb699xIlG7oY11nGnEUTfA=; b=KIMvTjtLLu0JWoYkFxxc+Q5rdhiSz5F+OZkV6KRHA6e3kswH8KYnEwn6bs0qbiP/Ak vVyrG9jIViM11sAULg/9Nq2CqW7CVmD2COUBCwyTN4gBrOYFopnixQkyWQVsd+goexyl zxz0Y+4SlI17pkcxFGlYHODA+jQxawFXMxPcs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=y4AToGLC11QYNl1KBQKdNwb699xIlG7oY11nGnEUTfA=; b=AX3nsXc6FZnpwrTzcGWtwU3wdypOkF+OaNVumOb/HmidhwzQMySfmukCayk3Bo4r+d om27XHKKX7f7W+/EVlJEhMoEfxKk1LrhTz4XP3AR2rcGW1QhQ+7b5nkPokBg/K76I62q ruNhFRtGqbe4mN+3N5Z9+ceAL5epxPALfCxybt4hdJANQWwD+o9hQxGWE9psftiPdro4 yimIMI5Ixw3Cyt2mJtD05Prqlkd+26T6Y9iK88VTIyyzjBhJc4vr/B4VRVTaEqwryt2B v9p/N/jC3ZtFNyC/aWdKxpw2yklmWnbMlsDyMFvNRj33ENlHpA2DlOV793EgCapXTE3Z 1IIQ== X-Gm-Message-State: AOAM533oashuXHEBXOZKwvfzzjSIrSZABwJqaxxqs5TBlDDgfi5VkA4l E4/s7rzrzOR0vbHBuR8HcKd19qOBDLAlgLgP5qEyvg== X-Received: by 2002:a25:c60c:: with SMTP id k12mr36831638ybf.407.1595888297688; Mon, 27 Jul 2020 15:18:17 -0700 (PDT) MIME-Version: 1.0 References: <20200727134914.312934924@linuxfoundation.org> <20200727134917.124943291@linuxfoundation.org> <20200727212933.pkt6kgescdz7akht@duo.ucw.cz> <20200727220112.GV1665100@dtor-ws> In-Reply-To: <20200727220112.GV1665100@dtor-ws> From: "dbasehore ." Date: Mon, 27 Jul 2020 15:18:06 -0700 Message-ID: Subject: Re: [PATCH 4.19 54/86] Input: elan_i2c - only increment wakeup count on touch To: Dmitry Torokhov Cc: Pavel Machek , Greg Kroah-Hartman , linux-kernel , stable@vger.kernel.org, Sasha Levin Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 27, 2020 at 3:01 PM Dmitry Torokhov wrote: > > On Mon, Jul 27, 2020 at 11:29:33PM +0200, Pavel Machek wrote: > > Hi! > > > > > From: Derek Basehore > > > > > > [ Upstream commit 966334dfc472bdfa67bed864842943b19755d192 ] > > > > > > This moves the wakeup increment for elan devices to the touch report. > > > This prevents the drivers from incorrectly reporting a wakeup when the > > > resume callback resets then device, which causes an interrupt to > > > occur. > > > > Contrary to the changelog, this does not move anything... unlike > > mainline, it simply adds two pm_wakeup_events. > > > > It may still be correct, but maybe someone wants to double-check? > > Good catch, I believe the backport is busted. I don't believe it will break anything, but the backport isn't needed in 4.19 since "Input: elan_i2c - increment wakeup count if wake source" wasn't merged into 4.19. It's probably best to drop the backport. > > Thanks. > > -- > Dmitry