Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp95216ybb; Thu, 9 Apr 2020 18:04:50 -0700 (PDT) X-Google-Smtp-Source: APiQypL2JtgXk6ZNWDSE+cZSEElKt+aM3PSHqQVNbQGW04NwuLf93HL4RC9ZiXx3FxddYkLT6x8B X-Received: by 2002:a05:620a:10a8:: with SMTP id h8mr1807562qkk.215.1586480690588; Thu, 09 Apr 2020 18:04:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1586480690; cv=pass; d=google.com; s=arc-20160816; b=0eOpHtJrANNdtGuBMhwbCIZQYO4Ac6kYiylVzPbxuMS/HzN1Ozv8K1/toKJEHoN8bs eQ+GSzMkZaq4FYj/r9VEnjFZ2WEbAdNEwcwJBMUFcYyGtSEqYfRlUXEEL2HWiDnixqvZ yjiWAO2RdN3bgrPLkx+TEJ73wqVcFNR8ibZ3klKlqaZbbGmGdBXPg6toiZfh7Lf915gT iflNm4VOXA77MjnHOL9J47B3HZRnCbrFpTaz3YSjDKmqYlRX3bCWINpPovJ/+elLauPR nFfmkm/VR42TZzO4TJ5mji0jBLTdRAwyH5a7uZDRdapghDP4FeGI+mx/pAgJY7FOjbMF Vm6g== 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=jFIMbk4Pzofl14SAran5PEcjL3Z6wE9zpJyIrYEL7FY=; b=vUtQiubOdGRk/O/yLJJ+U6tAsc+W3b1MfKPuT+ReW/BJNJoX8XAJ1YgWv+CwJD9wCb PsSHBg4W/XvkeG7KA601IpfvikNVOi4tb7C9YMrw94SxVyWsr2yFn7yA0FwYfmOXWbaF Goi00t6vBxXfSmf8U6NKLH1jFKYmZDlYcKUcYy1vywaThTRlA8U0dbw79Gr071JqReIT nxc93OUTggh8X7DrcTpb/Ze2UhqGcxFLkcEsGcKlBOUzy09p42hqlt4QiDcWieAW+uH4 MjiscXCbupknWT5+gVls8iN38lMtklZWnHxjjLAXEiNj8Nzz9uVZvmTeDC+0iVDx4K/p sQ+w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@alpsgroup.onmicrosoft.com header.s=selector2-alpsgroup-onmicrosoft-com header.b=jh6xTWNO; 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 o12si267816qtf.367.2020.04.09.18.04.22; Thu, 09 Apr 2020 18:04:50 -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=jh6xTWNO; 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 S1726552AbgDJBDT (ORCPT + 99 others); Thu, 9 Apr 2020 21:03:19 -0400 Received: from mail-eopbgr1410047.outbound.protection.outlook.com ([40.107.141.47]:42838 "EHLO JPN01-OS2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725970AbgDJBDS (ORCPT ); Thu, 9 Apr 2020 21:03:18 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kgE5oZB3cf1fDZjZNldOUhQxzM4Y1iI7UtzkHetBqfvA2i5UaBGwTc/rRSkBBJq3cOf5WwFJqGO+qVB60492Y1QWcif8o09J0QbmajLtbo3fz6UJLnfGTTCppV0L7tpDigVrzJDNTrn3f5YDwbVt06k12/PrB57MRBQOlxq6K9tT5UICs0AvtgiX4bvDyUEFOKTq2JbwhII/+fXZV8Dplb/0XhgfpnutWL1aJhEfZynZhvQi+IJjB6Gx36I/9W3aMHA/xIhffdPF6dSZiwb4TwdInhtudpvLtjJKW1pX5cFHA7QMd1A/2bRJi78VsHel4iSuM9hlPvm0KzWaz2Nm1w== 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=jFIMbk4Pzofl14SAran5PEcjL3Z6wE9zpJyIrYEL7FY=; b=GeZuEMJZsp76hsaNR1U2YWTrYNgORVXW1Hv+6TwjMLFg59M9mseH9bmx7H1btOJxCzwbVKUXXOR3p2wso/wSj+KsSplzqJJoDGabciytw+usLachOQmWorWm5DMoz68aWi57gACNGsnYFViMSgITwwCkAVLHlOEausJ6gWVwb3RXhHqmjqTrDMyjkWLcbtCCS89AOrCbo7NhXrduEYMjNOSnWrFUPXhrGj1Alh373HI3BfQZjt7HSk5f+7cCyTD+Xamo9g/Ek15GgF/XC6TePhnbA3bqnG9wOD05nBr/TrtBwJbifoUw4ipkrPRYk66VE/JStzlUNW5UGTCcAsBQXw== 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=jFIMbk4Pzofl14SAran5PEcjL3Z6wE9zpJyIrYEL7FY=; b=jh6xTWNOpwxRQBgK+tAVuPNxlSeqTaDSMkt11sqPzrOnSaveclrHtwb64biwclIgcluUKtF5o6htqOnMXZBUoBZ+o0DRyQ+aTNC6FXRAa3+MV31JdxYXDQqeN3xRu8NEqQaftNevtaP3E8Zn6JxtZ7511Z02BADwykDymLHajkg= Received: from OSAPR01MB3057.jpnprd01.prod.outlook.com (52.134.248.141) by OSAPR01MB4097.jpnprd01.prod.outlook.com (20.178.128.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.17; Fri, 10 Apr 2020 01:03:13 +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 01:03:13 +0000 From: Xiaojian Cao To: Masaki Ota , Artem Borisov CC: "jikos@kernel.org" , Benjamin Tissoires , Henrik Rydberg , "linux-input@vger.kernel.org" , "linux-kernel@vger.kernel.org" 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/TfssrKhxZ8AAgAAQo0CAAA8hsA== Date: Fri, 10 Apr 2020 01:03:11 +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: 8aba6a49-a560-444a-5528-08d7dceaf199 x-ms-traffictypediagnostic: OSAPR01MB4097: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; 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)(346002)(376002)(136003)(396003)(39860400002)(366004)(7696005)(6506007)(53546011)(316002)(33656002)(54906003)(110136005)(26005)(81166007)(85182001)(5660300002)(186003)(8936002)(8676002)(52536014)(81156014)(86362001)(4326008)(478600001)(66446008)(9686003)(2906002)(66946007)(76116006)(66476007)(66556008)(55016002)(64756008)(71200400001);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: /3WX2H6VUwuUq4173+f5HbwFi3GStUoB4ix/4SLN9v42YQZPAttE0y8M5nT5/TrPf46cWoTqOzfzoxoXPj51ZJl3ImijOsngSzxpv5CFm6eZiUcbmDbzKHpseOraX5bA1n6/prKeSUCzXMb69iELVdAZRCoa/BnY44jyjcQ2316hVR+YGRUj+2Y0EjaKwaJvEwrxtCEtks/wx5m7Md6ottyj1SB1Eh38uufOkk68Ie3Ai/ssVOI5P7KmFyDks42vMoW5OUVMUgA+9Jv6KH0gSCniVGgQTFyCa6wfpLIJm4VvptPqnmjs6VsY+xlWiR3DfNUw7+OEmbPIwOoJV21XpYJy7xYNHfPQWLlTLc/F8YGlblKx/52boOnP4Dx6ll3fqOK41xdimFEycqz9vue6UQFlJeUwyT0ELMOrj8n1O7rS54dBi+bQC5ak2vW386c+ x-ms-exchange-antispam-messagedata: qJc2/WEiPgQwAhJAAvN1zEQ4FucEHwNGVqSv8FHzMhR3Y1VUMH8eq3qRulvBoH4TKPfcPD/8p8lBtoE560riGOaEU52dy+pcq0/17EIOvX/p59Wg0kCTHmA/LXJiK4yHIXdGdSHGR5P4Ia2ea7MauQ== 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: 8aba6a49-a560-444a-5528-08d7dceaf199 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Apr 2020 01:03:12.5163 (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: OV8EOHsIPZG0/Rkxc06lBfR1qXXtlSPepsOnGeqvKYMXPDd3McX5RCwBebLwcxhPBCZws84+VpwztVYvllH4QxjqykhBrKihiGA+yOWTesE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSAPR01MB4097 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgT3RhLXNhbiwNCg0KVGhhbmtzIGZvciB5b3VyIGNoZWNraW5nLg0KSW4gZmFjdCwgc29tZSBv ZiB0aGUgVTEgZGV2aWNlcyB3b3JrIGFzIG5vbi1QVFAuDQpBVUkxNjU3IGlzIHVzaW5nIFUxKEtH REJDSEEwMDRBKSB3aG9zZSBmaXJtd2FyZSBqdXN0IHN1cHBvcnRzIG1vdXNlIG1vZGUgYW5kIGxl Z2FjeSBtb2RlLiANCg0KQmVzdCBSZWdhcmRzLA0KLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLQ0KSmFzb24gQ2FvKOabueaZk+W7uikNCg0KDQotLS0tLU9yaWdp bmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTog5aSq55SwIOecn+WWnCBNYXNha2kgT3RhIDxtYXNha2ku b3RhQGFscHNhbHBpbmUuY29tPiANClNlbnQ6IEZyaWRheSwgQXByaWwgMTAsIDIwMj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