Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp68447ybk; Tue, 12 May 2020 15:37:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3EUNdpx5c2x9GuBGLOUGE0Mh6RedD7oaSQEv02CFiEE66oSSWQXyOZbbH3+vRCPQ64Ag+ X-Received: by 2002:a05:6402:a48:: with SMTP id bt8mr4034050edb.197.1589323040161; Tue, 12 May 2020 15:37:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589323040; cv=none; d=google.com; s=arc-20160816; b=mGrgTiF/BkIPvZIul5Tks/JDbYDwM8tK9HaMlVhnMBOmZTPvHHVk9KNbEDk9txYTke fCkh6SRnv7DVFaVRtu/aTIHd0LfqJpes4Ng434kheoMTY7Ha95dpbQybIIRTKKReMRvD a8d3xqYCE+B9zp51qoj7hStIgy+TUnIh40LLhRo73ApYjYXZJiVpZzqRC1rgGFCb3zE2 1pR+CPLB7xFQBAFcbqt19VJI4kvEXPxG1s+qamu64b0LpUpynIMSaJCBJMFgfzzlrpE1 ZqyH6rcipkzIjjoMCcyApcE+5gamfrTrv/27svO4lEpZp4tUJrtYOtDlZVk6SsOmo+SK VKiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=7+zhIc/fwDYcd8ufi3WBl3kj3KkGaiVHWQH/31qindI=; b=mNGzeynJj0gLxAcQn+ZSQQ61QtJPe0ICwhjChBmr68mXxib+pV2FUGTvQgBE3RwuL6 mK1xtzSS7gsF2RhkEiON89BYLh5W9ruPlrKvjkLdrvExZm2oqdgtcxJoJ9YxwtMpWq8Z Me9MBm6w6TisRHWdq9l6HAyvtg3HJGtaTEm+A8JwU430BKgDKEiwQ8MPK55mpq45JnEH Rb25s6ysSCkcMT/LT7txQGq2IGqrROWWHgkWNW3rif44IcYcdvA3E9B/X5+LRgc6CZfK eddgoOuquhbUprUdfig5z6lNnbyokpHVGWrqPwfmnRi8q8VezfmzCi1kGaI+FOljKRJX Vg+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cgLVn055; 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 u22si9486026edd.207.2020.05.12.15.36.56; Tue, 12 May 2020 15:37:20 -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=@gmail.com header.s=20161025 header.b=cgLVn055; 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 S1728351AbgELWfB (ORCPT + 99 others); Tue, 12 May 2020 18:35:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726031AbgELWfB (ORCPT ); Tue, 12 May 2020 18:35:01 -0400 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3379FC061A0C; Tue, 12 May 2020 15:35:01 -0700 (PDT) Received: by mail-pg1-x541.google.com with SMTP id t11so6848911pgg.2; Tue, 12 May 2020 15:35:01 -0700 (PDT) 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=7+zhIc/fwDYcd8ufi3WBl3kj3KkGaiVHWQH/31qindI=; b=cgLVn055m+2Ol9tQS4JSwyPsqjKnhp/iCC9XXq5yE8Vs6Z8xbyl3dhnnnpdxOuN13D fMes1ZVUkz+w5qOTas8aln0MznEi/i23cdZ26i16N5zHuCoJ3R1W6shAvMP0+MQqC3G+ /pWyxeOLb7x6SY03TX2ZB2g6QrkoRgN52GEnpYDyXufYOIjwuqF0LSQ+cZynuNnrFGX1 LA7Yih26QmqQh9Lg4NxaEJN9DoHuyhcVhsgj7ScOsaWNC9MUBKf7R3rC4OQULEjJb8uI jkrztWTYNSNPK4MXsdnNQSBddIbegH5CXfsZnPckKyEGEQCqNXKdQetKkldCFlNV4//s Vb8w== 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=7+zhIc/fwDYcd8ufi3WBl3kj3KkGaiVHWQH/31qindI=; b=lnw0XlGQeimUCx/kNhppTPXvl85E/LomMccNGQnnmHuNjQ6IiHWDo6YEYWmHqTWtTc jCqgItZgUhKjTNCToD4eOwOnoFbeXm3UwI6NGneP4M8GmdjVDUbNfDGsf9W99TGyzfaM kiiBw5OWONKNxrTF8qiBFfMFwUz9egurIQSj1nhIEz3biCZKLXbWTFtxP9VRVtUW+aAT yRblLb2oz5YAsleGdMUi173ppGB0FkDSjET0fVBmNJQO42T1NFJlz1PiZGeWUWnXlZZx hW9JCIyIopbze0smf0Y5CLUS7R0mCq+OvzT18+Fjz8EIUGIGosogl7kc5z3My3e3WFXn QLiQ== X-Gm-Message-State: AGi0PuaXYWKg0F0t84JcpZrh6fYhOVErCSY8Phu2a3DlxAVPE9RzIUtV u0bhKUbXY2+pVK0MH/6lN/E= X-Received: by 2002:a63:c241:: with SMTP id l1mr21720313pgg.42.1589322900568; Tue, 12 May 2020 15:35:00 -0700 (PDT) Received: from dtor-ws ([2620:15c:202:201:3c2a:73a9:c2cf:7f45]) by smtp.gmail.com with ESMTPSA id t188sm11407012pgc.3.2020.05.12.15.34.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 May 2020 15:34:59 -0700 (PDT) Date: Tue, 12 May 2020 15:34:57 -0700 From: Dmitry Torokhov To: Johnny Chuang Cc: Benjamin Tissoires , Peter Hutterer , linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, Johnny Chuang , James Chen , Jennifer Tsai , Paul Liang , Jeff Chuang Subject: Re: [PATCH] Input: elants_i2c: Provide an attribute to show calibration count Message-ID: <20200512223457.GD89269@dtor-ws> References: <1588754932-5902-1-git-send-email-johnny.chuang.emc@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1588754932-5902-1-git-send-email-johnny.chuang.emc@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 06, 2020 at 04:48:52PM +0800, Johnny Chuang wrote: > From: Johnny Chuang > > There is an non-touch case by non-calibration after update firmware. > Elan could know calibrate or not by calibration count. > The value of '0xffff' means we didn't calibrate after update firmware. > If calibrate success, it will plus one and change to '0x0000'. > > Signed-off-by: Johnny Chuang Applied, thank you. -- Dmitry