Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1297055rwr; Fri, 5 May 2023 11:53:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4+SR2b8lasYOI4HZ/OvjGMxWdNrX9xk2RAB2yPDNeOVppgu2hkPcr9nFCEeLegiU1jrFlW X-Received: by 2002:a17:90a:f48e:b0:24b:4e7b:c689 with SMTP id bx14-20020a17090af48e00b0024b4e7bc689mr2364259pjb.35.1683312819962; Fri, 05 May 2023 11:53:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683312819; cv=none; d=google.com; s=arc-20160816; b=izUOCwX5L4l5cEvJVO6nWr9CdKXT9jNYU/O+5YJ/i2E/LsmaIzHC2bqCzbUk8jpA83 0oX1F3OEKN3VWNyhTGGhrCJc1S0YZco7NewGfdggh/RTl2TV3dVtqsteaCQW1iFRRTMw PPRfl+Ko04SvSxzJfRA2p4Jp7mSQ+fb6x35hk4LsNcsiLxJC2tm5oe32i0/ys/g4dcPy XR3gC4vI3UKKTMzxMS0JzJKxfhksRgIx4U7xMta2/Wz/S69867+s0ZD+ptIKzlEHU72j +Z1e1GHer66c/4AnBLeqx5xupH/jPWLwbdySuXflaygdf2lxyJbzqOup97xNa2TIAQc4 8sRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=O/ZSD3qVmnjgI8CLCJbb/H/o7q7YENLY/p8MYrwTe60=; b=VMoK+Kx1mjxaJhJpxibUxVdq9n879B0HP0x7HgVPJO7mq4bJGNnjWgbNZELAU5qHoZ Aefdq3ncp2FxvOA7hYRfzhMcCqNjKDXJ77HbAwGOrNE3liBqdA0LhGVjYGjR9fwfZfs4 UgEV73En4bROeI7PCJJSvbP5x/+lg1a70FXQpXv1qPaJzrAFEJ8QgXDmLjYB7wj06DFm BDtbhH8xsBf/I2ZHtqwPjH84M8NCtQEEfveuXQrt3Rfk2z9a3N14vfWPXEHjUa5tnCJD +apBXvsCyNKF3ISsXXjTbvpeKKJsVQf5XCfE6XgpVE2aGkoIqKsLhzcPMViA2zmp4wyX 3xzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=iW5l1IzD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id il5-20020a17090b164500b002504799a157si186983pjb.134.2023.05.05.11.53.23; Fri, 05 May 2023 11:53:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=iW5l1IzD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233218AbjEESsQ (ORCPT + 99 others); Fri, 5 May 2023 14:48:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233118AbjEESsP (ORCPT ); Fri, 5 May 2023 14:48:15 -0400 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EB1C18859; Fri, 5 May 2023 11:48:14 -0700 (PDT) Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-643990c5319so1354628b3a.2; Fri, 05 May 2023 11:48:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683312494; x=1685904494; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=O/ZSD3qVmnjgI8CLCJbb/H/o7q7YENLY/p8MYrwTe60=; b=iW5l1IzDT/jT2aAVpLQa9T5II3XZ+LCgczoeIrc1acjv7D6v6zR9N/IG5EoGxOqb6v KFTkyRMqaj4gyFm/tCxRIyD7KimB7SCvVOWM6QzRJwOVDbnPXaSLJW0/zMa9W3CLmhOl sAmcsSHV0yggBW6LDrfV6perkgDHMhJZpzWRVgf1jlugQMjm1WY72VZMA62fgisITO+/ 2gY5YgK4HYxYLDN95i/tgtWuMUu1L45IdYQaIOAnPAGncLxtlFbqCNW/cjNmscIyfb08 +iPSZGKAVLxFRJi/XUsROkfZWhttoDDSh2ZCYdJlDIli5kVgi5i8JhxquYqthDECTTa/ jgeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683312494; x=1685904494; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=O/ZSD3qVmnjgI8CLCJbb/H/o7q7YENLY/p8MYrwTe60=; b=jJYuj0XyvAy4CWZ/wfR9FKN6dtPz2PpHXzz88i7E181MUkT6dKWW5cbW6dGLkgP5M8 muxTdW+8LBUq7YZN+4zhgF/6N5JGY+udvQr8+yMxFOG7JDy7Yh5QN263mfG2sOnfg8XS dmbEVPe9u3zbM9g8tftok2a8HAgq5HEbsE115RCThuraWNOaClI2qFU6ZmWUAlAjUubB TUSpwxiernRK9d28pR8w44A5BPXykMGXuFpt7QksO6IsyKsH8P+X1QJ0NaKRvZzDfYuq sqi5PJysJc2hea/pzFR84DhKx0XN+n2RmL+EmB02F0P1ecd4p35Gdm1azD3lrk9Muueq xSPw== X-Gm-Message-State: AC+VfDzD0UsGkJ87V/ta+sADKEeTZZYPGTTzGAZ79tvYe8aNyQSBSRNs qj4hlJoO9XeWVAnDUGjW4ZQ= X-Received: by 2002:a05:6a20:244d:b0:f5:9f72:1aaa with SMTP id t13-20020a056a20244d00b000f59f721aaamr3189440pzc.19.1683312493725; Fri, 05 May 2023 11:48:13 -0700 (PDT) Received: from google.com ([2620:15c:9d:2:5658:95c:e1cf:a1b0]) by smtp.gmail.com with ESMTPSA id j9-20020aa79289000000b0063a5837d9e8sm1939941pfa.156.2023.05.05.11.48.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 May 2023 11:48:13 -0700 (PDT) Date: Fri, 5 May 2023 11:48:10 -0700 From: Dmitry Torokhov To: Maximilian Weigand Cc: Linus Walleij , Rob Herring , Krzysztof Kozlowski , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Maximilian Weigand , Alistair Francis Subject: Re: [PATCH v3 1/1] Input: cyttsp5 - implement proper sleep and wakeup procedures Message-ID: References: <20230504120316.408687-1-mweigand2017@gmail.com> <20230504120316.408687-2-mweigand2017@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230504120316.408687-2-mweigand2017@gmail.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Maximilian, On Thu, May 04, 2023 at 02:03:16PM +0200, Maximilian Weigand wrote: > +static int cyttsp5_enter_sleep(struct cyttsp5 *ts) ... > +static int cyttsp5_wakeup(struct cyttsp5 *ts) These 2 look like twins, I collapsed them into cyttsp5_power_control() and applied the patch, thank you. -- Dmitry