From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752621AbdFONcW (ORCPT ); Thu, 15 Jun 2017 09:32:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41622 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751673AbdFONcU (ORCPT ); Thu, 15 Jun 2017 09:32:20 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com CB4ED461F7 Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=benjamin.tissoires@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com CB4ED461F7 From: Benjamin Tissoires To: Jiri Kosina , Arek Burdach Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Benjamin Tissoires Subject: [PATCH 0/3] HID: multitouch: fix a corner case of some Win 8 devices Date: Thu, 15 Jun 2017 15:32:02 +0200 Message-Id: <20170615133205.15441-1-benjamin.tissoires@redhat.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Thu, 15 Jun 2017 13:32:20 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It looks like the Microsft certification misses one case of released fingers. The (only) solution we can have against that is to wait for a hundred of ms, and if no input report comes in, consider that the touches should have been released. The spec, as I read it, enforces that. Arek, can you please give a test to this new series? I managed to find out a way to have the IRQ and the timeout exclusive, and also added a few optimizations. Cheers, Benjamin Benjamin Tissoires (3): HID: multitouch: use BIT macro HID: multitouch: fix rare Win 8 cases when the touch up event gets missing HID: multitouch: optimize the sticky fingers timer drivers/hid/hid-multitouch.c | 149 ++++++++++++++++++++++++++++++++----------- 1 file changed, 110 insertions(+), 39 deletions(-) -- 2.9.4