Received: by 2002:a05:6358:795:b0:dc:4c66:fc3e with SMTP id n21csp2228815rwj; Sun, 30 Oct 2022 13:41:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5HwVgXTMiEAzRyGCXmW1abWPBke6iXhdR1CfEtl6YWmwT7rdza+vOz7w+gibsWXMS9eoiu X-Received: by 2002:a17:903:558:b0:187:18f7:714b with SMTP id jo24-20020a170903055800b0018718f7714bmr4368479plb.28.1667162472702; Sun, 30 Oct 2022 13:41:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667162472; cv=none; d=google.com; s=arc-20160816; b=i4LcAswx0DLhh+LAQDUXso+ogJ6L8lEq0fzClVt4AmriSvYKRMEvNz6yb/pmTXo0A1 2CrZBOkERGV2ONL+zhyMlVLPRJXhrAuOdp/I9khqXe1gGL+E4qgCisEXOX40s1U/E/GH s0jMpxTFRzO/uICzWlLrY7ruUNe0xWWGOjIV6Dwr4JjUiDuylFXtTpqBk2Dg7QQ64gl9 uBAB44QcfyjRbtD6rpUoErG1bBBu/ynxnGkhP+UfgZbHLJNEyyOWpfSTOJ8jguH2HIm4 RVUY4Opt9odLxDWVBuGIapTfI8hwm/lCkS8gWKX5K2CXIxP7liyP37SRf1dHMpoW5rXT vjpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=HVWRHFVr2HzqsClJWTzBUugkh8zlIjyMQoH5XdqfGQU=; b=zmmTcU3RG+XxaMx0XdyFBPXEfM1essFzEUm51csOlZ5sFxrloN8JLHsO3cS1iZ7Vhq GzDJ0tP00uPvd3UeTSDI+SMk488pFGo7tRJT3O0RwP8C+4A3q5g5igrAcOXjSGRlU5yx i53+2Tb7dCNrF/3SxfFgcfSO6ws7JHy/U9QLXiOQzBzPGoDRR9nI7ispV+/nEhc93zUD Vz2J4wW6CzYP+I0enCdaZl9x6YMMTCt3GIHm62dxEsyqcFd0C+ttVGnkpQYx4FH8YfSV 6QK0EO1zYue4QMgkS/Q5tyZfgxHZ9uiBxQDq+Q/1BbgIgSWOOUJs9MJCed9AXyaGyj2d WXhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=KP2adwlN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l10-20020a17090ac58a00b0020ad6d218cdsi5472552pjt.3.2022.10.30.13.41.00; Sun, 30 Oct 2022 13:41:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=KP2adwlN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229741AbiJ3UeQ (ORCPT + 99 others); Sun, 30 Oct 2022 16:34:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229587AbiJ3UeO (ORCPT ); Sun, 30 Oct 2022 16:34:14 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B025AA1A9; Sun, 30 Oct 2022 13:34:13 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id y16so13408129wrt.12; Sun, 30 Oct 2022 13:34:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=HVWRHFVr2HzqsClJWTzBUugkh8zlIjyMQoH5XdqfGQU=; b=KP2adwlNrFJu3UuQL3mdeb9pnpZ5nQ2Nx/lGpEnh8l/ycUO97D7LgB7FEzl7+NogX2 ZTZs0OVTXldQRvxXfbvJMbOa8Nk8IWTXNn6caOCLNcWDg2kQgb+GkV5gXPBRZp1ZSpYi PVVMip6LdgQn6FDadpBwykiumgh1fRXOZFcnFKLySkAMa1rLpZVu14YUvHKgC0D1hVcW bx0hEay2tpqsiFUz4+XYOdQbzCPw1/jlg/G+bScg01U79Gnv1zcGJEkhSnZVH+cHmgmt gWSj7g6eeKDz51sEsVwTlRze9COcO1nWA/qKO5xzKcF9dMoP6xELOP6s0FRHNsx414H1 Vu4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HVWRHFVr2HzqsClJWTzBUugkh8zlIjyMQoH5XdqfGQU=; b=b7M+YnDFmKhOHS5i+qXQ7RgZx42gZAWIN6MyprX3cYmQJ7AaYJ+r3x7LJ+U7tZ4Mv/ bETFWzkAT47LZxzAloZTEGq8WoWS6pqztLvMQY08PvbdTmr3Oi2TrZ1UISJyPp+XP/L5 OP29wqwRoV2ByekMM6dChS4r8q0au086N5SOvM/r/s5uZ0nmRKClce7OFLmC2MuWUnCb NNoyB1viQnbOIwDmQ1iJ5JkTUqhG7KWUCVZFBJGKtWKC6T59vMGMRCEeVw7BSNJX+/LL 656OOEe4CalK8XbKALL0xjYT0v0b0O4TdYKuRHVmnmeZ2mZaI53sBiZmb0I8ueTa8cTk 8Fgg== X-Gm-Message-State: ACrzQf0iKDssdXBSXsdHFCKnEx+HfkSmd/MZGIGtmPLyyfkP2MeCp7Oh J9KAJR/Ex3NFUFbEHI+0QNM= X-Received: by 2002:a5d:4604:0:b0:236:cdd4:4cdd with SMTP id t4-20020a5d4604000000b00236cdd44cddmr417731wrq.627.1667162052122; Sun, 30 Oct 2022 13:34:12 -0700 (PDT) Received: from michael-VirtualBox.. (89-139-44-91.bb.netvision.net.il. [89.139.44.91]) by smtp.googlemail.com with ESMTPSA id n25-20020a05600c181900b003b95ed78275sm4939385wmp.20.2022.10.30.13.34.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Oct 2022 13:34:11 -0700 (PDT) From: Michael Zaidman To: jikos@kernel.org Cc: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, linux-i2c@vger.kernel.org, germain.hebert@ca.abb.com, Enrik.Berkhan@inka.de, Michael Zaidman Subject: [PATCH v3 00/12] HID: ft260: fixes and performance improvements Date: Sun, 30 Oct 2022 22:33:51 +0200 Message-Id: <20221030203403.4637-1-michael.zaidman@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series is an updated version of this one: https://lore.kernel.org/all/20220928144854.5580-1-michael.zaidman@gmail.com/ Changes since v2: - Remove SMBus Quick command support - Missed NACK from big i2c read - Wake up device from power saving mode - Fix a NULL pointer dereference in ft260_i2c_write - Missed NACK from busy device Changes since v1: - Do not populate hidraw device - Avoid stale read buffer pointer Michael Zaidman (12): HID: ft260: ft260_xfer_status routine cleanup HID: ft260: improve i2c write performance HID: ft260: support i2c writes larger than HID report size HID: ft260: support i2c reads greater than HID report size HID: ft260: improve i2c large reads performance HID: ft260: do not populate /dev/hidraw device HID: ft260: skip unexpected HID input reports HID: ft260: remove SMBus Quick command support HID: ft260: missed NACK from big i2c read HID: ft260: wake up device from power saving mode HID: ft260: fix a NULL pointer dereference in ft260_i2c_write HID: ft260: missed NACK from busy device drivers/hid/hid-ft260.c | 313 ++++++++++++++++++++++++---------------- 1 file changed, 185 insertions(+), 128 deletions(-) -- 2.34.1