Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp1358613lqt; Fri, 7 Jun 2024 16:35:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUhHBEpZtX2RAbPSoG6VWAh8vu117+ocOzUrHGiPWV6fG92Azo5YFwk2hbHgcQNBGeLC747FWij47vswuwYB5fxXDEm5M37S0zhY3nA7g== X-Google-Smtp-Source: AGHT+IFQGxblAlaNRNB+tCF7Qv7KDnyWFDgPJvuiB8l8WILzpfhjAdUmiX0Q/FwDmQ13lbEuTdTX X-Received: by 2002:a19:c50b:0:b0:52c:76d:dbb4 with SMTP id 2adb3069b0e04-52c076ddcc4mr875537e87.49.1717803355938; Fri, 07 Jun 2024 16:35:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717803355; cv=pass; d=google.com; s=arc-20160816; b=SxZ69SY4G85HBSmXCsrZppI0J3yEalogNA2/27d7APVr3wrnp7bH7+1vgbNGDiY8D4 EGOUsy6qIMz3hi8mjGq9XHgzXB/MFEHf2TbwLZCxUp8Gmek0beavggaGQk9gjRYySsuI rFHMm0dqAtrQvHJOh19DtrpZNDG+vT9/uCFeMZR45Q9zEQTXpntgj96V8sg4lIFnlTav snInl46mKkWtwGWZy4ezh8F5Hd7NuI6F4660hEukHShx/t7fABhZaUxO6S0qZ0hy728K jwukchhSAwkmO8jSxJGbQ7N5GS5VkDRPopQczoG9ujNxdFMsx7lwqtsHdxG/582Fm+jb P3hw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=HhsCE0tTOPtJooMevw8aLHygUUiFdfuHO9+TyTDYcy0=; fh=Mku/W6n4ubE1UQTcKGqV3AeHAgPQ5t5rGZDbuAbKZ20=; b=SE+Xr4BXNQ3CwQvIaN1LIWottbQE2o7jUC4y08LbzioQQwZn2Fmv8nArVWokrVWH0a LTiWwS51/PJs95lLE3cByOc+gusdRrMnHBRRfcnJwDK3vBy3FiU1PG9V0QTzQiGsbAZ7 6fvSXXNHSuthquilHAKQkfG+kRLJAe3jUk0ae/YXFnZg+HWOd7GMbzxEjwq04/DtMJgF G2Rq7Y2Rb66M/yKP3OzyPdHb7qNuscH3ucM35lRhragKi0RO+De61Ksy6Ng3j7jlyvfe xYyp2o9danUUgXm635LRKyI0Fk8eue924FE1mCKlLa8SSQFmbXiA0eHE1fZluDJBy8PL XnJA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BNxWOsin; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-206835-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206835-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a6c80708dcdsi232230866b.617.2024.06.07.16.35.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 16:35:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-206835-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BNxWOsin; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-206835-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206835-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 939811F23BA4 for ; Fri, 7 Jun 2024 23:35:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BD4E013FD9D; Fri, 7 Jun 2024 23:35:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BNxWOsin" Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B867C11718; Fri, 7 Jun 2024 23:35:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717803346; cv=none; b=IEykWvkDPnYCZ9dW5BzN9kfPNMhFPCvHYOltRL44Nywr246zzdIXRWPpjJpJIm7rraF/DzK0BXwH7G8oAWIreOI/4V4iXhI0IfCA1LYjqm4mJe5T45bUcChNtQoiCqA5E3Jzv1vDrP4+2QmxGPGAyybxKZSS7jf2XaGc2gPR8gA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717803346; c=relaxed/simple; bh=VpZ1nUuYtXqO79dvGShzDHtoTd5ur0ZKutNZiTa8/qw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Pa3+QnsICaHum1YG3e2lYCNKULVdeFcYv7yaiWqWlwt3tu9EkfvE1wp9a15tKIGcbAaGpPogGxKSQCRVlMbeGcSDv837bBecIq0PoMHBwpcwNeGDQB8cDSkFv75JBqyCEnbxNj5mNqFtDyKafP1uZxAM3vCSMz2nf96yHrfibnE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=BNxWOsin; arc=none smtp.client-ip=209.85.214.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-1f658800344so21897225ad.0; Fri, 07 Jun 2024 16:35:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717803344; x=1718408144; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=HhsCE0tTOPtJooMevw8aLHygUUiFdfuHO9+TyTDYcy0=; b=BNxWOsinNuTtTxCGANPehzCWFI5kRTc9oAJzazYNyqR9H9gO9IgpE69Q89naFDMWtN TgoYce4P8k7qSOuYA6X5OYNG/sqvGcFg9IxombHlnmbHS68hx2v0dMGWsYKiP0jo4WRs tR2qfyb6BVHHREtEtUAb95EqBdDZ9lvg72zZXc1h6FPGL1PFZz/2/KmFc59LpaGJE7lR Byfd7vbzfRjboWoXo6bBE6UEDRaGlFnkDFGB/dgl3Dnb6r0JYQ9qYaCpqtpzAbaCjsxb iT5GcA3gCidciFMSzNfvhV0mF5xZ2yPplrabOfIZqzh5vhT/vMoF/7Dmf6+WPy+axcAN tX5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717803344; x=1718408144; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=HhsCE0tTOPtJooMevw8aLHygUUiFdfuHO9+TyTDYcy0=; b=VkVmXSdNuCVkSubs8p4BRe7HtskXb1lQiAGIqgIpfuj54p5jB6p+QwCYzhEg3x31zD 69PgXqCay2xVjN4xyjytMq8croI9Q0wQQMFAZlyux9Lvv6Brxsn7xKw2NUfQgOsPhcb0 I+rK5Hhn+wb9dfSNbxgiMBYU9s+uw6huhG0folwwZrpT/cNuBSou2kfY6uEjHveUYL/Z NuOR2CAIFLK85Axq4ZG4TG5gJlrd11ps7tbHw7Zn++3PFDGMJzGkt7hUjgCVn0Xi4SLG tCjkzJbnygDPzaBJxyTC98jdw3a4GH/OK6iFhAg7u2y3ePuyCaffLF3r9W+LRT3QpP3I 812A== X-Forwarded-Encrypted: i=1; AJvYcCUFG031HR+izkjRVfPuK3bOrsch5jwJqqmZ0J8RqTYEwpGAFb1nEMkzZN7V62bYPNM2jq0NUR+tff0bQaK16wG+wGN9GSPaWQpZGvft X-Gm-Message-State: AOJu0Yyz6j2TVrbvLWsPIhpMPmvbGj/WmneqJ+2QQ6mxXNPG4Lg9wXed JvV7iPAy4Njkyh74HBI+rCV7Q5Rya1bdIHlejZOxQfmLBhJDdmH6LAuWqQ== X-Received: by 2002:a17:902:e887:b0:1f6:a8d2:4ab3 with SMTP id d9443c01a7336-1f6d02dd157mr52949205ad.19.1717803343923; Fri, 07 Jun 2024 16:35:43 -0700 (PDT) Received: from google.com ([2620:15c:9d:2:b8e9:3447:a54a:310b]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f6bd7f7ea0sm40190895ad.270.2024.06.07.16.35.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 16:35:43 -0700 (PDT) Date: Fri, 7 Jun 2024 16:35:40 -0700 From: Dmitry Torokhov To: John Keeping Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] Input: ili210x - fix ili251x_read_touch_data() return value Message-ID: References: <20240523085624.2295988-1-jkeeping@inmusicbrands.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240523085624.2295988-1-jkeeping@inmusicbrands.com> On Thu, May 23, 2024 at 09:56:24AM +0100, John Keeping wrote: > The caller of this function treats all non-zero values as an error, so > the return value of i2c_master_recv() cannot be returned directly. > > This fixes touch reporting when there are more than 6 active touches. > > Fixes: ef536abd3afd1 ("Input: ili210x - define and use chip operations structure") > Signed-off-by: John Keeping Applied, thank you. -- Dmitry