Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1531lqz; Fri, 29 Mar 2024 06:54:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUAecpeCrGQB11yR9RJqfYirNt4rvGb2nKezIl3Giv0Ay31wc+iL9ucg3xlDaFwUlIZLkrIxCdA6gLS/Zxq8weBLWtvKnMnEjhoE+1fHw== X-Google-Smtp-Source: AGHT+IFcKE7SL3YwJzW85m+uqGMNnT88NSQ61UriJNbRUvb6pFZPvqxibw31T7ZTekFNzkbrcfFQ X-Received: by 2002:a17:903:120c:b0:1e0:280b:8387 with SMTP id l12-20020a170903120c00b001e0280b8387mr3026670plh.40.1711720465733; Fri, 29 Mar 2024 06:54:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711720465; cv=pass; d=google.com; s=arc-20160816; b=RUaEwcKDdI1CwpXZdGGzpfjEH4Q2g2WbQa2FxYzlcuu4Z/elKQLlA0E/jGWzOOvta4 jWF71Z3WWWKNdTqy18atja8aoMoyOUFUQaemq3xX0N4M3pk3VAJDO0T5Z/LdCK96PWwI CE9JJdWpZ33tdTjjj5q34w7kp0hPOflGult4nhGZP6K/xeGNfekmla59iU7ag8/wkpvM Io8m/vdANUvBA7jmwjvYtrc741YlbpdfopIw9rjQiqZViHWc3ga9pASnEcbAmB30wtrN OKBOzWhT/tl8Cs2prBA54EqRsxhZpzZk6P1Seo1UmUeQ56i04ai6iCVxeepa3HinjJLy mMhA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=hj218nFHHoFbINY74z9Yx2QcHb4dJuFH+vLy5UnbsPE=; fh=N46RyUGc9UgsFY9qIKywDiZ7J7zlrwPvA/7H9EMqL0w=; b=XQHULjs2LKr1wf4Hz+hA67ti0ZwsE8lKBwKmQ42jYNgPOk8b4Jyw8XKHNiorGfw6af g5muMtEAKRGVjgMsEItD6j9AMJ+Wbh50w3xvZwjuDL5qmNvQlynu10ULZzKxhsu+4asR 6qYHracf+aegAIcPiWRelVMAlNwqYYfk8XdOX7IynJ1IUBhm8atE4vDGEfq4A8fwsJPa sP5c28eHhe4ziVEfwrG9jH/K6zyd+jtmOsTAbJ7LbFkgM4vFGzhGLXLsnkM4yKaHbwUh cCV9LuRZPuurLKCjV/Y77WcOxL0RVy/G+HFbfyfiJwB0gzZcTLECW0hJqD0g6LAcCOJH gvjw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KbQ7xpxp; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-124786-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124786-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id lw6-20020a1709032ac600b001e0cd73e1a6si3678580plb.308.2024.03.29.06.54.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 06:54:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-124786-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KbQ7xpxp; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-124786-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124786-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 76FDA282B61 for ; Fri, 29 Mar 2024 13:51:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 285E7188A97; Fri, 29 Mar 2024 12:42:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="KbQ7xpxp" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 18708188A7E; Fri, 29 Mar 2024 12:42:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711716140; cv=none; b=NSRGo3E0anNIzcrzZFpHaE5ZD+DqSRO2cMuozQ2ffE3H57vulHt2yB+lZC6IWnpJIyEXkdkzEIVHnOTHICL4k1BGXVcN4AZATr2Fk5+OxyjfpcxcNbfHi7iNjl7wTqEa3jPTUqGdOz1lO0ZLVPXBlqGWo78jrgVs4OU+ZsSpk58= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711716140; c=relaxed/simple; bh=nzUqvTnrnZZu0hffpYlA1dzFj49gKFtl/K2Yj1yQ5ss=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=L1Na9UYfQN6HN8EnQQzVSyKS/CVPzJlLnj1fn4PseLFmslcICjRnSvErUAIkA3FxM72SlOWlUMej5I4oTlklyRCm2Zj3QRj7nEgtmqhSoA+TblGqseEPUmDkE/iYaExoUKz2NeaDu1c5oUJwjxXQ6c9YXnsOvUf8g60bCnau3H4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=KbQ7xpxp; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D24B4C433B1; Fri, 29 Mar 2024 12:42:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711716139; bh=nzUqvTnrnZZu0hffpYlA1dzFj49gKFtl/K2Yj1yQ5ss=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KbQ7xpxpiM1ZLyCJC4sXCxkwcOWcWOGRCfzEkmv1pHUdvb686eM5sZJgSFwBdEPh7 6zDkAc0gAy1yqWUb8fx6kRroZ2jYfVqitQBEofg7aW+hTiJBO5HjUiruNgHvvNtv3n khOaU6zgdQIariesrXtd2cx5Ao8me9+yRqDFd5P1n/sQN2+s9LQ+/4O+PD1xUV17bT TM8QqiIc1x3TQHMEYFeGCJisVooZOw0gAVb3sf3BsGc7QRHX7wRA5yWMIWI5EB4EEr YELRroQk69UmtjO7evnn9eN3V4FJDO+2vOROmH0a/4SmxDQi4ih1bEF2oJM9ng/8zS mC9/66xUmVsZw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Markuss Broks , Karel Balej , Dmitry Torokhov , Sasha Levin , linux-input@vger.kernel.org Subject: [PATCH AUTOSEL 6.8 76/98] input/touchscreen: imagis: Correct the maximum touch area value Date: Fri, 29 Mar 2024 08:37:47 -0400 Message-ID: <20240329123919.3087149-76-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240329123919.3087149-1-sashal@kernel.org> References: <20240329123919.3087149-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.8.2 Content-Transfer-Encoding: 8bit From: Markuss Broks [ Upstream commit 54a62ed17a705ef1ac80ebca2b62136b19243e19 ] As specified in downstream IST3038B driver and proved by testing, the correct maximum reported value of touch area is 16. Signed-off-by: Markuss Broks Signed-off-by: Karel Balej Link: https://lore.kernel.org/r/20240301164659.13240-2-karelb@gimli.ms.mff.cuni.cz Signed-off-by: Dmitry Torokhov Signed-off-by: Sasha Levin --- drivers/input/touchscreen/imagis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen/imagis.c b/drivers/input/touchscreen/imagis.c index 07111ca244556..e67fd30110278 100644 --- a/drivers/input/touchscreen/imagis.c +++ b/drivers/input/touchscreen/imagis.c @@ -210,7 +210,7 @@ static int imagis_init_input_dev(struct imagis_ts *ts) input_set_capability(input_dev, EV_ABS, ABS_MT_POSITION_X); input_set_capability(input_dev, EV_ABS, ABS_MT_POSITION_Y); - input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); + input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, 16, 0, 0); touchscreen_parse_properties(input_dev, true, &ts->prop); if (!ts->prop.max_x || !ts->prop.max_y) { -- 2.43.0