Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp7069927ybf; Fri, 6 Mar 2020 09:46:11 -0800 (PST) X-Google-Smtp-Source: ADFU+vsWuepwE8B/achw5ElDB6AAQOCn9zEXd12Ql2OWoDCSheLLlPeijY8zqFxZmP6P7qQ0ulU8 X-Received: by 2002:a05:6808:a0a:: with SMTP id n10mr3522842oij.10.1583516771269; Fri, 06 Mar 2020 09:46:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583516771; cv=none; d=google.com; s=arc-20160816; b=GTcU6D6G/UAqidYbt3LDrufp6VdrmFC3WSeNktm6SYG6sK3VR9pANEjcwrNgNc/PK7 aQ4HsPvmhghNGTQ3oaCM6bOkxY+Bwz66p0Zdnndfuzc1ffogkjrNPNxwsaWWi2dd0MJh RKI/N8MD96fnoRtKLb5aZ4oGBozGhcbCIc3hFykxrScNqSDcBM+Uy/n7QUU9DyfKAUhN YoWWw+K5tUBwbLihGfrSCk10QHdQPnKGldQOfS7nqgmGkuwaRaOOriN5L++9Z+0emyX2 l7vd+bhTmia9RiZLzwOYdysLUJjxPpoXQiMrhFLo9No82KmjuaZUzFKson3fLexZqRNo xMwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=CMTg0TedaIFOhx4o5LKmMRYaCsUrpsNojDNW2nk+DDU=; b=IFDy8sPogV5Xq05VWmj2b3F8T0d3/LKorRE1Oeg04kRDk2M8ODCsQdR+g3JVuY6D/2 66ySYBPfPNgXIoyr82ds4x0rsLNhJ0N5u3v6CahvOhTWNRSsuitX4CNTkmPzVLh9imfb +7Oih52GRjWl5xTQ9xD39hZ78WQKj1e5DbOkPRf0JiTLDY7znpTFM6yj52UOivnCpSNT eNJwGORbEnxXGhJXakkIL0d6ze8EcB9H0d8QUEZrbTwg6floTnHriyb1Wr5RTK9Lz/84 nVbhrZB2vWRvzwUzW7gNT/gPDuIwIsPwQmQHp9KVVzpqCoORWp8dxgM1jWLup1kk7dD0 nMPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Uslm4aXI; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f9si1916255oti.44.2020.03.06.09.45.59; Fri, 06 Mar 2020 09:46:11 -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=@redhat.com header.s=mimecast20190719 header.b=Uslm4aXI; 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=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726378AbgCFRpn (ORCPT + 99 others); Fri, 6 Mar 2020 12:45:43 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:48364 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726178AbgCFRpn (ORCPT ); Fri, 6 Mar 2020 12:45:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1583516742; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=CMTg0TedaIFOhx4o5LKmMRYaCsUrpsNojDNW2nk+DDU=; b=Uslm4aXIqPcbneB/f0nldQek8/7fHw7R22yWDcHr+rw+QtE3Af6skCbh/L6AOX/sky61Wo YTsPyhl/qC/nVL+/YNnqJnbRems3ws8tuwAyV7Yww7isyMbZPn9cxVG+9ZLRuJsgkArawS hqnQ1esROZDkxzy2UoSi8z4SQs7ZKj4= Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-432-pc48ZVlIPW63wn0sR5CNQA-1; Fri, 06 Mar 2020 12:45:40 -0500 X-MC-Unique: pc48ZVlIPW63wn0sR5CNQA-1 Received: by mail-qt1-f200.google.com with SMTP id i6so1847389qtw.2 for ; Fri, 06 Mar 2020 09:45:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CMTg0TedaIFOhx4o5LKmMRYaCsUrpsNojDNW2nk+DDU=; b=nPboWgw+a0KkuO6tWctj/ffOhyQE4E65Bj3+BOhOAbbzEW1iLjrZP+SLGjkH4bGGgh 0jjWCuJGS4SSZWLv8JVpGhDhr1e2yZswkFJ6vYsO7zwp736+362Hk1ygYGhCf84LSwX8 UkH6zWU0h5nfUu0cZZ++YQB2p3i4m76JwvSC5hFhxSkiBtbrENumf4e9nsAz3kF4fdWB NdzxWcs6HlvvL1lAXStialKGE9yLVuL7bfSCnQfX5OcJBbCXFZxNObA1n4j2UCECJH7e r4NgzLMW+Bv+7H9ApQm4VW6SqNcAgNYePD2Q4Hjn4nZ3mwQX2McNdrfQUbUQwr/NXwtn ksuQ== X-Gm-Message-State: ANhLgQ30cEf7ohASQlAvh0MwQp+ZR3qE4p550UCDuaEXXOrEMEFeNHeq tY5v053zcH20J25bdc9bdk7Lk6LxUhMcSi8bA93/vVgn6XS3H/9njBJAFEG3JQa+5y5RWWtcM2z 2N+LzmAwiUkF3khKNgM8AAW4eusjJ0jWEzqByVVQU X-Received: by 2002:a37:a1cc:: with SMTP id k195mr4124004qke.169.1583516738499; Fri, 06 Mar 2020 09:45:38 -0800 (PST) X-Received: by 2002:a37:a1cc:: with SMTP id k195mr4123983qke.169.1583516738227; Fri, 06 Mar 2020 09:45:38 -0800 (PST) MIME-Version: 1.0 References: <1582766000-23023-1-git-send-email-johnny.chuang.emc@gmail.com> In-Reply-To: <1582766000-23023-1-git-send-email-johnny.chuang.emc@gmail.com> From: Benjamin Tissoires Date: Fri, 6 Mar 2020 18:45:26 +0100 Message-ID: Subject: Re: [PATCH] Input: elants_i2c - Report resolution information for touch major To: Johnny Chuang Cc: Dmitry Torokhov , Peter Hutterer , lkml , "open list:HID CORE LAYER" , Johnny Chuang , Jennifer Tsai , James Chen , Paul Liang , Jeff Chuang Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 27, 2020 at 2:13 AM Johnny Chuang wrote: > > From: Johnny Chuang > > This patch supports reporting resolution for ABS_MT_TOUCH_MAJOR event. > This information is needed in showing pressure/width radius. > > Signed-off-by: Johnny Chuang > --- Acked-by: Benjamin Tissoires Cheers, Benjamin > drivers/input/touchscreen/elants_i2c.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/input/touchscreen/elants_i2c.c b/drivers/input/touchscreen/elants_i2c.c > index 4911799..14c577c 100644 > --- a/drivers/input/touchscreen/elants_i2c.c > +++ b/drivers/input/touchscreen/elants_i2c.c > @@ -1309,6 +1309,7 @@ static int elants_i2c_probe(struct i2c_client *client, > input_set_abs_params(ts->input, ABS_MT_PRESSURE, 0, 255, 0, 0); > input_abs_set_res(ts->input, ABS_MT_POSITION_X, ts->x_res); > input_abs_set_res(ts->input, ABS_MT_POSITION_Y, ts->y_res); > + input_abs_set_res(ts->input, ABS_MT_TOUCH_MAJOR, 1); > > error = input_register_device(ts->input); > if (error) { > -- > 2.7.4 >