Received: by 10.223.176.5 with SMTP id f5csp802873wra; Sat, 3 Feb 2018 10:37:51 -0800 (PST) X-Google-Smtp-Source: AH8x226UImCtpjCIJdN19pBObK8Re81wHgiqnTMfcnjD6u+ab/sscXFUO56JbmkkbZs1Y+wnPOa+ X-Received: by 2002:a17:902:4906:: with SMTP id u6-v6mr32592919pld.92.1517683070976; Sat, 03 Feb 2018 10:37:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517683070; cv=none; d=google.com; s=arc-20160816; b=FGXQ6hNv8RQhvmChueOdplsvzQg0TtC5v/sHH4D2P4+mmeS7r1W2uI5r6pl1UTawY8 9gVoigzrogSVEb45coxf+zIXBKNzPZV3mjOcklnAQ+eSwFKZsi2vzqt5LoRgC6hSMz+B ntApmI8h5+2gGkz0oXsZueWqOmRxZWT3p+nSILd/X06kkI3fnFcy0LLHCe3bI+Z7YdJB OtH//kg216cc68ap7CvixeWn5XlrOvwM5oz2O19z77a23pfm/+w5IJeOq7lvUHGDrADE nFPc8QlwIbopvWTZA3s7GCbwiYTKNOPga+mLlMokdSntWGOwoUpY+YPn9T++0zIJtd5w vBIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=Qo9vJvdueowfxST7nnE/GGtfBoj6b5DtE9Kd8+/LLUE=; b=w0evhOT+m+o1ntzxfAh+hWtvL1m7bu8WonncHuQlnDdXpKpY1pTrdB3NMgiQ5fFy1T 7++iygfZvgpGn6kt6LoyqK4xBytJ5V1pBTZZ+VvW4mWFsp53ZUds/Z0fkjiofTloKuiQ tafiGit+xGPO5kMQZvULW4/eBcbRyHvXXbTt78ywK/A+ln2ifFjLvqtnOKg0ite7SWSa TjxBJ13VTdOLQz613uuvKLVFSZP4M3QWf9qjVjdLYbtw3pznKA7CGQXKpoYeb4wG6oZB fnAodcEuUG+41eikGSzmPdS3XK+BK9peWzFBwlIRAe19n8cV6d+PI6GEb3WI/D++xG5n 23sA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=MHZnQGFd; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y12si4026177pff.230.2018.02.03.10.37.36; Sat, 03 Feb 2018 10:37:50 -0800 (PST) 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=@microsoft.com header.s=selector1 header.b=MHZnQGFd; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754785AbeBCSf0 (ORCPT + 99 others); Sat, 3 Feb 2018 13:35:26 -0500 Received: from mail-by2nam03on0111.outbound.protection.outlook.com ([104.47.42.111]:44500 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753050AbeBCSEP (ORCPT ); Sat, 3 Feb 2018 13:04:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Qo9vJvdueowfxST7nnE/GGtfBoj6b5DtE9Kd8+/LLUE=; b=MHZnQGFdWpRRt9+K3Szo4c48ZvQSQFqGlIBSL/ZyLEw8oVNHKm0HJJMNuUxKujN/K7Wc7m4luCneLjRz3mg1kldNe4qhPb+J6Bk8QdoBivFTBqxU0mIhEpEZBb2UT48ZWDQZmDhhgaLPmM86rRbeePTfFpz1sbaJ71V39dzU+Ns= Received: from BL0PR2101MB1027.namprd21.prod.outlook.com (52.132.20.161) by BL0PR2101MB1105.namprd21.prod.outlook.com (52.132.24.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.485.5; Sat, 3 Feb 2018 18:02:07 +0000 Received: from BL0PR2101MB1027.namprd21.prod.outlook.com ([fe80::a8da:b5d9:d710:9bf9]) by BL0PR2101MB1027.namprd21.prod.outlook.com ([fe80::a8da:b5d9:d710:9bf9%3]) with mapi id 15.20.0485.006; Sat, 3 Feb 2018 18:02:07 +0000 From: Sasha Levin To: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" CC: Oleksandr Andrushchenko , Andrii Chepurnyi , Dmitry Torokhov , Sasha Levin Subject: [PATCH AUTOSEL for 4.14 072/110] Input: xen-kbdfront - do not advertise multi-touch pressure support Thread-Topic: [PATCH AUTOSEL for 4.14 072/110] Input: xen-kbdfront - do not advertise multi-touch pressure support Thread-Index: AQHTnRj8rsSdAGvMs0OeRrAK5PeOcA== Date: Sat, 3 Feb 2018 18:01:16 +0000 Message-ID: <20180203180015.29073-72-alexander.levin@microsoft.com> References: <20180203180015.29073-1-alexander.levin@microsoft.com> In-Reply-To: <20180203180015.29073-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BL0PR2101MB1105;7:z30o5teS4z2wKwkUuOxRI2g+uvknWN2EfBciEARz8Mpi6+CFGc/0+OAf7e8sbeyOk9By8cz0vhy8MjMXpizc7uHGGgieuGMBOKPlXu3p6l49Bj1k/KBAjIhqdNDUXJRHRrDW8KT6V+8abe5+bknnNaq/bqG2lvc5fcyvL7y4Zf4+nNgf/qhrNQ3arKVRuJqFRBusUBhPdNNtXYl5UbEQqTGOcSn28twqcbTv2ZSBTgAtGXo0F1Jndbl6Jk7Kk/KQ x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 379175fb-2d02-4213-3b60-08d56b303d79 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(3008032)(2017052603307)(7193020);SRVR:BL0PR2101MB1105; x-ms-traffictypediagnostic: BL0PR2101MB1105: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(20558992708506)(278428928389397)(89211679590171)(85827821059158)(4114951738403); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(6040501)(2401047)(5005006)(8121501046)(3002001)(10201501046)(3231101)(2400082)(944501161)(93006095)(93001095)(6055026)(61426038)(61427038)(6041288)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123558120)(6072148)(201708071742011);SRVR:BL0PR2101MB1105;BCL:0;PCL:0;RULEID:;SRVR:BL0PR2101MB1105; x-forefront-prvs: 05724A8921 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(396003)(39380400002)(39860400002)(346002)(376002)(199004)(189003)(6346003)(97736004)(6512007)(7736002)(26005)(305945005)(102836004)(105586002)(68736007)(5250100002)(8936002)(6486002)(6436002)(106356001)(6506007)(81166006)(81156014)(2501003)(2906002)(10090500001)(99286004)(66066001)(54906003)(6116002)(3846002)(36756003)(1076002)(8676002)(110136005)(575784001)(39060400002)(107886003)(72206003)(2950100002)(478600001)(10290500003)(22452003)(6666003)(5660300001)(2900100001)(4326008)(25786009)(14454004)(316002)(86362001)(53936002)(3280700002)(186003)(3660700001)(76176011)(86612001)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:BL0PR2101MB1105;H:BL0PR2101MB1027.namprd21.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: YAlvGYEwbF/C9Y4QCJRyh7K6qGIOAC0c1UPFRrGIbSmnv/MHgScrSrreEId8In1UVc/vu0dMcJQO23Hl3j8t8Q== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 379175fb-2d02-4213-3b60-08d56b303d79 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Feb 2018 18:01:16.2690 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR2101MB1105 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Oleksandr Andrushchenko [ Upstream commit 02a0d9216d4daf6a58d88642bd2da2c78c327552 ] Some user-space applications expect multi-touch pressure on contact to be reported if it is advertised in device properties. Otherwise, such applications may treat reports not as actual touches, but hovering. Currently this is only advertised, but not reported. Fix this by not advertising that ABS_MT_PRESSURE is supported. Signed-off-by: Oleksandr Andrushchenko Signed-off-by: Andrii Chepurnyi Patchwork-Id: 10140017 Signed-off-by: Dmitry Torokhov Signed-off-by: Sasha Levin --- drivers/input/misc/xen-kbdfront.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/input/misc/xen-kbdfront.c b/drivers/input/misc/xen-kbd= front.c index 6bf56bb5f8d9..d91f3b1c5375 100644 --- a/drivers/input/misc/xen-kbdfront.c +++ b/drivers/input/misc/xen-kbdfront.c @@ -326,8 +326,6 @@ static int xenkbd_probe(struct xenbus_device *dev, 0, width, 0, 0); input_set_abs_params(mtouch, ABS_MT_POSITION_Y, 0, height, 0, 0); - input_set_abs_params(mtouch, ABS_MT_PRESSURE, - 0, 255, 0, 0); =20 ret =3D input_mt_init_slots(mtouch, num_cont, INPUT_MT_DIRECT); if (ret) { --=20 2.11.0