Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp22714lqz; Fri, 29 Mar 2024 07:26:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVK5nziXAU8VoPsjdjoUDkVdTZziYHdbQQpGQGuz1DEdegodOvI+wsu04q+66EbKux8jBubm1KvCwkW2xRCWWyisJBIFd74VEaI+jfkbA== X-Google-Smtp-Source: AGHT+IEhCatpAbrRaDAT13fM8uc3o1HdVQsWLv4OAkaW7tWcIQP9+XYy4I92Ht6p1/Qwy0//Y4bO X-Received: by 2002:a17:90a:488d:b0:2a2:1900:493 with SMTP id b13-20020a17090a488d00b002a219000493mr1001504pjh.40.1711722394776; Fri, 29 Mar 2024 07:26:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711722394; cv=pass; d=google.com; s=arc-20160816; b=TuSjRrno0llldwdYxt9ZRLtOEpG9Lm7qAL00Hsn3a43vE1FGzuBEpQpRo90N8sRpEX XWkjU4AP9+sDHReIWdwwq5fzbFIA+eD37MRPiL0iuEwFzTrKVuxb6bEz25hGDYrMsjip mTI/HvIEYE3V27L0X9C2tC964Lc1QGWareuwg+pAvrp0yFJmXedlQQSPIbwrLZaoeGfk G4Ym6Rq0NFa5PI7HCwnKY+Hhrk0J0FIcaZMx0LzoND6+PuScj1b8KTOOOn8gCSBTUs7z 5uWSZqazusN0UMaGdCxWiwJx42lg4+lW53zuuRFu02Id2qnx/6th20hkqXm5Q/zxt/MM Suew== 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=UC/hBIZwBnpbckJGEKUUGYYvLDCdJgvNgvOZCM8K0AE=; fh=N46RyUGc9UgsFY9qIKywDiZ7J7zlrwPvA/7H9EMqL0w=; b=X5tYVIHUkIEw/5/VWlukeShHvejoe+n3amP3fOkNhKRZO+gpOzoQvx/UZ3fPpqTJj3 2D0M1VZZqH1LWwggpx8WQ4h4RBpnqQlW4/23Evg/3SXF6bDzpzT2iH79AlEm8Las/0MQ JgUD0JN5rM7d0kfeWt5q3q0sjtwpfKt9HXeEdUu5fCoxYyIQJpUl7P9SocKQqqNV0pSl ejmnlLgRihGQwEZtZ8IZ/B4Sm0JMzpz2frEOO6gW6ocwAp6fEdLL7x8lOR1K5Um1nUU7 M/xliptf+pGljugVe3QjeUs7CEWdOxaWcXbgSfhRe6ajos0xHAmSSRjlvh6nH200S0Bv PspA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Dl8Kg3jq; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-124920-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124920-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id t12-20020a17090b018c00b0029c77227cd4si3873487pjs.167.2024.03.29.07.26.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 07:26:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-124920-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Dl8Kg3jq; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-124920-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-124920-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 44CB128638D for ; Fri, 29 Mar 2024 14:26:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6ADA636ACEC; Fri, 29 Mar 2024 12:47:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Dl8Kg3jq" 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 9038D36ACCA; Fri, 29 Mar 2024 12:47:12 +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=1711716432; cv=none; b=I5UC/EG77yjyKLJ2n9Mccbti6caPQ0qSo0a4RCuyhwMpSI6ZWbsI0pzbyLaBmvYmiP25UJp1Wf6KWK/OzpPnFFw2gPpvYXjIGFkJSCEekM6r9kQiTOWmZUTdgQEwp8zhDIXiwy+InbjTVJNufGbHKHt5juBPcgf46l0NwXZogjU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711716432; c=relaxed/simple; bh=iYeY20XcboZyv15kHL+2YC404iUv3HZCguH9uan6L2w=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=kmMPNWX1KMkqIbKDVABvKwPVWD88P6CWph048b1mq/RIsj/HCgA7e4UxzW5434eIGBd1bq9hjg0fusbPG/c7Bi//EYm+KU1sRySZQ/xiy0hUDaBiPVapYbT/vZ/hlRCFD7LNaGMMVKsKOzOjhEVdUspp/e7lrc/dBUbjb0YE0bo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Dl8Kg3jq; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65877C43609; Fri, 29 Mar 2024 12:47:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711716432; bh=iYeY20XcboZyv15kHL+2YC404iUv3HZCguH9uan6L2w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Dl8Kg3jqpKDiQg+ffB01F+mvNGSjGXn42TbPWP86hUZMADAeXqSa7ixDLM1ldcXFe DTZ48YjsPX1Lm8Gy86Ypuq0Ktxu42/FLiXHIhZ4EgUjGBzdP8L0NYv81V4WcPUG/la f5wTjFxY1O+MPS5MNJSvy921/RWxf95yfvzEqX/0zV64ULlP676C55VOrQvXU+m6FA jAgY6QW/xck1FEKJry/fq2OiSu3UkWpmvy8KEsrQ+dXxeBbnja1lK0jSL654PFfAlx NzO1RrwGXArpnrSWnDCqnWf7YpczUB73vJzzMfN+a2yPnFkMedizEAzFH0LPhbuMiP A7wPzEBxxDMDw== 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.1 36/52] input/touchscreen: imagis: Correct the maximum touch area value Date: Fri, 29 Mar 2024 08:45:30 -0400 Message-ID: <20240329124605.3091273-36-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240329124605.3091273-1-sashal@kernel.org> References: <20240329124605.3091273-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.1.83 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 e2697e6c6d2a0..b667914a44f1d 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