Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp131868ybb; Thu, 9 Apr 2020 19:04:38 -0700 (PDT) X-Google-Smtp-Source: APiQypKHqwZY09YxTcUkz0WGSAq8iK1C58GA9U6LWZydD6vmOQ7xEFyJD2DcKhnchNAXU7sa4AVa X-Received: by 2002:a0c:ff06:: with SMTP id w6mr3121576qvt.143.1586484278548; Thu, 09 Apr 2020 19:04:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1586484278; cv=pass; d=google.com; s=arc-20160816; b=safemWfq+Akg5qmaEAgyWXFCKuWi0rjyEuPvu427nWMGmAkVu/D5WgugMHXQpstouZ q6o1yxkBqlV6U0MwO36+y+acLxJhsLU799gMEqlMwogM8AqnG3zW1xGDJ/St98KokbFu MQ6CKO06dnE+xkQJz6zocy2Xi5KUFqcCDoh1BXefy4B6ABgO4TrnnLpMmrTcXCJssArB zY3+WU4Xeq7vKaCnVUAuH2dtUGpD3Wn+G3NGr9NLbFH6qtk4LV1Quq9cN2/HsFC2BrJ5 tWEEwKUVuZO7MARaWQGGE/G+jxM1Qb/Mcj491ASc/wBXTm+SCwKRP6cXCQXgCtbbQooy 6BgA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=9Yv54uSToHu3GXfl8o/Cbueuu8ycC+XZ4mfq2v44JiA=; b=okUCj1FbNGF8LL4bUfzRvuaALb3zk6nYPxkdHj3HHPQ6cdYw054A+5yA89J3vcDO1u lktWkqLw+Xall7Vw7Q5kM1zjdZ9ipw5Q4wpQC7rH9ewqeRYDyWa+Zc03BrCzf6nWbM3f AvW/UXmEMOdr255vtC7N2SMkQTYcKTEaLCGmmf+i5hrakvcaR//S+lQaRp8BhfMZfeJp 1r0L1D1Sy/Lb6haacQYbVqcxLcSNv3nwHzBtaaI6otbcBzd91E2YVgXgHLKyFTb/YMaz ehutT5/Rps0jq3IN711Yi2ISvmL9IfUnclCzDnluDW5TPT4n6E+UUZQgke39abmi/Oa5 APJA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alpsgroup.onmicrosoft.com header.s=selector2-alpsgroup-onmicrosoft-com header.b=L6MIVOTd; arc=pass (i=1 spf=pass spfdomain=cn.alps.com dkim=pass dkdomain=cn.alps.com dmarc=pass fromdomain=cn.alps.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w23si359531qtn.255.2020.04.09.19.04.23; Thu, 09 Apr 2020 19:04:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@alpsgroup.onmicrosoft.com header.s=selector2-alpsgroup-onmicrosoft-com header.b=L6MIVOTd; arc=pass (i=1 spf=pass spfdomain=cn.alps.com dkim=pass dkdomain=cn.alps.com dmarc=pass fromdomain=cn.alps.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726559AbgDJCDh (ORCPT + 99 others); Thu, 9 Apr 2020 22:03:37 -0400 Received: from mail-eopbgr1400040.outbound.protection.outlook.com ([40.107.140.40]:19904 "EHLO JPN01-TY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726082AbgDJCDh (ORCPT ); Thu, 9 Apr 2020 22:03:37 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=f0EKxy16AHzGvyg0ElIpw1AikmjVr6rFAGLOJM0rCx6mK4A7LkX+4OC2WzIbAZJ5Le2UlrSKIpfx+ip6zvMFzxripngJc1fvTSZJGhPwybITyGruX/gIRRykfXk+hOhFBKeWhTdzig9x3EX977A6r9Rj4+nklTLsk8npr3wuYBb+4iwAKkxRfCjCPbQah/UbFlZUIyEBwiqODAjhbex7qQsPAY6pdd09OGu81mw7FMDUx7o4x2gyw/x4bh++hOOdHtv0AKwWyQUfMUlxbcKw7gEyg8wx2WVUZuc7XDBhLt5pPIOo32/53XQ91nYpsdpECybvh/yI0M/UP8kKIBG3wQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9Yv54uSToHu3GXfl8o/Cbueuu8ycC+XZ4mfq2v44JiA=; b=i05BU8S5AS60KUCq0Y8pdANzfGe6wK+LrttkQHZk3yw9TFGjffCuL/BKed9jSA0Te1gXZlhntYO64mKBA2x53NJbVZBjOy+ZNL3XT37kwJ+kN0eaV7L74O3BmN4mDCa5GJJ+LnuLGMMuetDWJPbW3h9be0k5dGeii1AaZOImHSkUGtnWDuQjJlHeqcsas24itjjYGA+ICuqdfgBMzdicPk1nsE4vO1QJEdn38a2AGg7aMEJ/AM6ayQ9aMCMxOjgnbmvarcBPJ+chkdQHYtKNoNYUrYCRAkfjVUBU7AUvRyGtXoZITUneP5mbx6q2mwfO4s/7zM685YJg+FTTlU5W8A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cn.alps.com; dmarc=pass action=none header.from=cn.alps.com; dkim=pass header.d=cn.alps.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alpsgroup.onmicrosoft.com; s=selector2-alpsgroup-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9Yv54uSToHu3GXfl8o/Cbueuu8ycC+XZ4mfq2v44JiA=; b=L6MIVOTdc9ljSjdjYiKc1M5BrUbcCxh1DBkActR4wxtAvs15/mvspaqPb/QF4fiEMv0yWaATcHyFZ77x0O7eE/rUlrxdQdAkEQLqchRMbGfWEISEKChjzP/onGdVGBRlvYCepInaq9cqZgcLjDgdRJNHlmvJDDaQ/LTJX/WeeBs= Received: from OSAPR01MB3057.jpnprd01.prod.outlook.com (52.134.248.141) by OSAPR01MB1955.jpnprd01.prod.outlook.com (52.134.235.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.17; Fri, 10 Apr 2020 02:03:34 +0000 Received: from OSAPR01MB3057.jpnprd01.prod.outlook.com ([fe80::c41b:4bf7:2ad1:6fc7]) by OSAPR01MB3057.jpnprd01.prod.outlook.com ([fe80::c41b:4bf7:2ad1:6fc7%3]) with mapi id 15.20.2900.015; Fri, 10 Apr 2020 02:03:34 +0000 From: Xiaojian Cao To: Jiri Kosina , Masaki Ota CC: Artem Borisov , Benjamin Tissoires , Henrik Rydberg , "linux-input@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Tetsuya Nomura , "vadim@cirque.com" , "pod.alcht@cn.alps.com" Subject: RE: [PATCH 2/2] HID: alps: Refactor axis resolution logic Thread-Topic: [PATCH 2/2] HID: alps: Refactor axis resolution logic Thread-Index: AQHWDr0x2NbbGmh+BEarMrC/TfssrKhxZ8AAgAAQo0CAAA1IgIAADdJg Date: Fri, 10 Apr 2020 02:03:33 +0000 Message-ID: References: <20200409230009.22551-1-dedsa2002@gmail.com> In-Reply-To: Accept-Language: en-US, zh-CN Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=xiaojian.cao@cn.alps.com; x-originating-ip: [58.247.0.86] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 50ce6a8a-5e3e-46c2-65e4-08d7dcf35ff5 x-ms-traffictypediagnostic: OSAPR01MB1955: x-ld-processed: 57e76998-77bd-4b82-a424-198f46eb2254,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 0369E8196C x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:OSAPR01MB3057.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(10009020)(4636009)(376002)(136003)(39860400002)(346002)(366004)(396003)(4326008)(55016002)(52536014)(76116006)(966005)(66946007)(86362001)(66476007)(71200400001)(107886003)(8936002)(64756008)(66556008)(66446008)(5660300002)(186003)(2906002)(26005)(54906003)(110136005)(7696005)(478600001)(9686003)(6506007)(316002)(53546011)(8676002)(85182001)(81156014)(33656002);DIR:OUT;SFP:1101; received-spf: None (protection.outlook.com: cn.alps.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Z1hWjIUCsWV29y2bjce9VRSl3lDHZx0b0637rhYmHI+xSlFpNYumnT73Fm0FzPFXHV0JKq26M9T7NVAT679fwo0eajTQbZlAiVHWnL5G2wUscWB1F49+Qa+KYy4MIDxkP7WWqRZKFZ916aeIfg6A0yhO0vk2GwcYu9ri8M/S1dwHdqtgc88JT3w60nCfLzckRKfCc2gQc10ReLzfGHV5tGUKVEUOZtjohemK/UGjk9JJmGzfQRfDC/BR8Ntpn56vJgL+KP3XzbXUGMmo4Cu3fWm1TwcPvK6pBqSrSIr9HHdhtRhaKUJT8bhWNXCXB+IMkCOIhvFerCRp05pj1mFeCvTHN5AvAOg+l5FhfqM6Tb1LPjKvCC3tvIuyY11kKiYl+HvZM1kueoCR4Mpo6wrGdfIrC0/cpWuzOTfhEoUxjoj9GVuzqV3qSZJA411LWEiICEhorPKOXWAQ6R1lsUojsmB6pQmS8j/I1aexVL1p/fJalPaCfxeVtS3KM+c42AsDtT+NEVcxcgcsGF+26qrDHA== x-ms-exchange-antispam-messagedata: t82Aa5BEyr25orwuCh1Mv67UIwKoCPyAyOGbgXG+0o0vt+3v7sQoTf37L1dY8kg9Ea0SMGexGB2cIlU0zTMrkfQ5ZkRFHh1hw+1qPS6UsjCU2+6P/BvWknQIYfBYZ0nbn43UvFfSsw9j87hNQ4nExA== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: cn.alps.com X-MS-Exchange-CrossTenant-Network-Message-Id: 50ce6a8a-5e3e-46c2-65e4-08d7dcf35ff5 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Apr 2020 02:03:33.9437 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 57e76998-77bd-4b82-a424-198f46eb2254 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: eX//MJ6uopyVbXy6+GRTE55iMgOsOIhTrD5h7qeE0vGdik5um8JHDpMyOKI/rp03vM7MaO8YaalIIQBtey2nnv4Q/1DyOC+Vvgnc8cxPLLw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSAPR01MB1955 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgSmlyaS1zYW4sDQoNClRoYW5rcyBmb3IgeW91ciBpbmZvcm1hdGlvbi4gSSB3aWxsIGxvb2sg aW50byBpdC4NCg0KQmVzdCBSZWdhcmRzLA0KLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLQ0KSmFzb24gQ2FvKOabueaZk+W7uikNCg0KDQotLS0tLU9yaWdpbmFs IE1lc3NhZ2UtLS0tLQ0KRnJvbTogSmlyaSBLb3NpbmEgPGppa29zQGtlcm5lbC5vcmc+IA0KU2Vu dDogRnJpZG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