Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1649967pxb; Thu, 4 Mar 2021 17:32:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJxOphaCnHUq5NH+LvBSaS9j56eVOOGXAEUobQlTeVA7nOPRbhariaslDOCWfdL2swNEfkfK X-Received: by 2002:a17:906:a896:: with SMTP id ha22mr226612ejb.503.1614907944562; Thu, 04 Mar 2021 17:32:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614907944; cv=none; d=google.com; s=arc-20160816; b=o+o0VusAb3dD686Q2Dz3q9UhkF7epSVAoGHAKxSA2ybpmAd81JTbuI36CcwtJ2CZvI ZSiThcCRxcVIgZFKDmF5zzdCKjtdPqJ2omqDmdwa7FbGm2Lxpb4ZCLxPHiiemTnWNThE zeYFpXsbhV7lOhTB+medVY8PAkP8S6gIdRvZeaV8i+WmkZ/fUDmf8T+tL7OKv+bS5XPh qIlPx0gkIocDlz+TiLqYs6M6iue7np9XYxeqHezeRQyLVfrHI1/MRfXSoDy+wNsmQ1CB Ujz4yu3cvjGNdbrh777rVcOrh+njPlwLpxPDAayyQm/rdTez1Fc0lddp7hXUGLT6iiMD T95w== 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=DwJtciANNwPk0E5tDr/R8fb7OoLygHui/jQ94U4mSCY=; b=mXUoLtmsUdUSQRny+MeF/lVoA7l4GR8hvwVLRB5wlTETfSHdhQBowx0qIHLKEV4Ng+ gXRLHqnl4tJBsl94X630xQajQPQnqk5n1cM8JZN8y4lWQ8QN/PRqcMrDd+laVTgkvgH3 BheoDbK7IqJCewqWX3QhY8z+CWBE9dqvegAN6ehSj8WfY0WjHgPb0AD79xLORjQizYNv pwPgmWFAi7IK7M0STyDic4F0C4AQ5s5Jm30I+29I/JTVWHmNxSp/BcsTd046iMKNBKI7 weLLlZ6ZnfTrblDgB9cjhxAC1Y8Z6Fs5dlL6AdvFKa3dT/O7NiBdecHmc4GCINIk0efk Io/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NyKs9pY8; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h19si494340ejg.578.2021.03.04.17.32.01; Thu, 04 Mar 2021 17:32:24 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=NyKs9pY8; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229574AbhCEBbb (ORCPT + 99 others); Thu, 4 Mar 2021 20:31:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229458AbhCEBbb (ORCPT ); Thu, 4 Mar 2021 20:31:31 -0500 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5899DC061574; Thu, 4 Mar 2021 17:31:31 -0800 (PST) Received: by mail-pj1-x1033.google.com with SMTP id o6so889978pjf.5; Thu, 04 Mar 2021 17:31:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=DwJtciANNwPk0E5tDr/R8fb7OoLygHui/jQ94U4mSCY=; b=NyKs9pY8tRtU0S5d+J5N2xDnGR1MJXSUfCfXBBZf5tFiHPh94pXpt26/36e+y2cnfV Pz0yqLGt1ZVKlChp3CMICRqwDIts0zGAlRdh0FVW/qfsdEQP5HWxJGqBhcKW/9a/5s4f qeWY+tA52ayoVEDXPKgwNh9MGT++b8gYEw0thED6BKCpmmunMPPCqWK6lOso42gn1NWm F7OqMn2+voQ9HjAdb5wmLPzTi9VB8RXP3DaukZYPDxaacg/0HIpUyWLfsTp1coANS2ds pPcbvP0rXeagzQVE4hXafMfAJatdrp76XaZRTQHgdhRzPwiv48t9tY+nbHml6kAcVKSW 8rFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=DwJtciANNwPk0E5tDr/R8fb7OoLygHui/jQ94U4mSCY=; b=nVd3BZPz+XaVb+qCzLPzO4wYAOrUkrU0ZXyIv8ti7U/RJo/7p0ePUOlnaR/rYhfSBU SbJBgeVa8f5clbReKP15WLwFglPT/jg4REJWMXIhjIOgxS66PKihisluxiXWchHsQZtF gtc1F4m3qBtIrVejTnnDeZvehYUT5gxl+qdh6DAwgv4z5/bfRVNXFf+wVgPJM72wig33 wzTU5OTOaklgsxKS8jRFRXJJXjpTiBD41JR3wZWRDwvxq1EULrNcx/DnbXsOLMqjcfpP Y4HRBjU4+6Xe+hVMiEqOaOzAdC69fxsHGslkKr9Qhns9TvtIGuTPLz5jA/kS1GnlBy7U aQ8w== X-Gm-Message-State: AOAM533YQF7QjHS3D7NxfzLg2l6e9ih8DEcI6mKJulKiMBbmB4I9rTT9 Vwx3FORGgujmRK2dblmh9/3lmI4LCH0= X-Received: by 2002:a17:90a:77c8:: with SMTP id e8mr7290243pjs.48.1614907890826; Thu, 04 Mar 2021 17:31:30 -0800 (PST) Received: from google.com ([2620:15c:202:201:c91f:96a9:615f:28ed]) by smtp.gmail.com with ESMTPSA id u20sm551295pfm.146.2021.03.04.17.31.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Mar 2021 17:31:29 -0800 (PST) Date: Thu, 4 Mar 2021 17:31:27 -0800 From: 'Dmitry Torokhov' To: jingle Cc: 'linux-kernel' , 'linux-input' , 'phoenix' , "'dave.wang'" , "'josh.chen'" Subject: Re: [PATCH] Input: elan_i2c - Reduce the resume time for new dev ices Message-ID: References: <20210226073537.4926-1-jingle.wu@emc.com.tw> <1614647097.9201.jingle.wu@emc.com.tw> <004f01d7115e$3ba005e0$b2e011a0$@emc.com.tw> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <004f01d7115e$3ba005e0$b2e011a0$@emc.com.tw> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jingle, On Fri, Mar 05, 2021 at 09:24:05AM +0800, jingle wrote: > HI Dmitry: > > In this case (in the newer parts behavior regarding need to reset after > powering them on), it is consistent with the original driver behavior with > any new or old device > (be called data->ops->initialize(client) : usleep(100) , etc.. , because > this times "data->quirks" is equal 0 at probe state.) You misunderstood my question. I was asking what specifically, if anything, was changed in the firmware to allow skipping reset/sleep part of device initialization on newer parts during resume process. Because of there were no specific changes I would say let's not do a quirk and change the driver to skip reset on resume. Thanks. -- Dmitry