Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp141551pxb; Fri, 15 Jan 2021 09:20:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJwmmGEzaVg91e72Na0Pn8jB8KGzkV7+lG7ICH7IRxQGQdrdLYSflCP8tDiY3HB43Njl1Bbd X-Received: by 2002:a17:906:1712:: with SMTP id c18mr9814912eje.417.1610731218277; Fri, 15 Jan 2021 09:20:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610731218; cv=none; d=google.com; s=arc-20160816; b=IVO926+o0aBQniOw/JnZzUGQem7fft0d7/SBYmHXztFgZeEKE1Tnwio5Tb0wwNQyMa NoEPQ3yagYUdPbEYA7cSkR8KPT76qrt628XZMRxGsWa8H6ZtV6eovvNDn2MFhx6yTGWP sHBBnhNqG2rrmd0sQwN4LMFCIBPgAt+/VgIBwtQc1iTMVC1GHhd69pTvfGKwKPk10vQa PXuAtIGuhYICqYYlO4oBGCYCyOJE309YT5ctCu0A5LPyVHVa8nmvIJcC33ipVIJ85njx fw7A3M1Pk4nTsFhmGcX75NLqy7xwzhYiWXpERJu5ATsv4QqYG610aVK4yhmNvKiWuads eedg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Zr+usiajQbvXCJZeiaAQ7ZOJ3FmLL56sdTHwAb93MCM=; b=ChgnZfC4QavoSFr7hn5Dgb4binEVFrWEbLGea3Z1juzv/KwzV16P65dH0mLl25MfvF XBrvJMm+IxtUdZfh57o0fE/HwRAR+bZtE4JjTe9XajCmwghbO93SdoVovf6PqaKb4c9x KSS5t96AHtEIVxUTIBwtkVbKGKeWMIxX8j13KXRed+mmzn/LrNm/0XeYvAgkBE/EeHBA lAboPpYyx+WUdwYquV9GT1lyoHZ06ykej3KdxVgbh0Wd1tEntpDPJtM1GPXIqiIZSQGP ZYN9dNknawyy6gAhjM1R1xEdfHczmePyzqpGtTsXf1XEOulBruqSFuykxnNW6gaHHHoD 494g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=YUoXFs0R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d21si4035981eja.412.2021.01.15.09.19.53; Fri, 15 Jan 2021 09:20:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=YUoXFs0R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726419AbhAORRN (ORCPT + 99 others); Fri, 15 Jan 2021 12:17:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725818AbhAORRM (ORCPT ); Fri, 15 Jan 2021 12:17:12 -0500 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75AA1C061757 for ; Fri, 15 Jan 2021 09:16:32 -0800 (PST) Received: by mail-pl1-x62c.google.com with SMTP id u11so733890plg.13 for ; Fri, 15 Jan 2021 09:16:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Zr+usiajQbvXCJZeiaAQ7ZOJ3FmLL56sdTHwAb93MCM=; b=YUoXFs0RFlgOeIyrZijD+N1grI8gVMlfGS9AkiyjIwbdZy5Rv4lR2QQNWrEF/vTkln hQ6gcZkOry9+vQ2+RJuTyZEjOqbZMfyprQINzU0SP0iuCwg66PGVc9YnP1v5O4YhHlOC hIoEXrUwRl6VsOk2/vvfHU1qdc9OlSHcSN/Fc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Zr+usiajQbvXCJZeiaAQ7ZOJ3FmLL56sdTHwAb93MCM=; b=a1KDNTReLyiI6Y1L6/7wIx06cE6mBsP+W5PAIvX4GOCMDJNgqrBCeWDL7GhKKLw0ho 0uUqLFERsG/DL5ek7UfIdeXDm5aRLoTkPWbkr2/YAI41Kbgdxb5fLBFh+ISl4P7xU1S9 EtiNdb1JU0YV+gQJQS+dxSPTwv+OTFC5o49t4dx8NH29dH6wAMm9kfX5/v10XIOCTYbG sDlowuysCC4IaD67PpG3SX6eX00K/qFu712f8VwqU9NpTwLAQDy/YkrLokbUbNTae8NQ oDtKgR43Dak5gkepSr0KTmrHudDA79Kt9LXeBjgHIslJUt/xneIRO7ecwe9Y1qRLH74+ rDBg== X-Gm-Message-State: AOAM531EV+i0C/FWBG6ogPMkSCDRmxxhQt1KgbLteqBMk2pNrBsow4tI t/aphyXGiAfZ7xeCA4/k7vb+IFJ1NuZ5SA== X-Received: by 2002:a17:90a:a60f:: with SMTP id c15mr11970244pjq.53.1610730991756; Fri, 15 Jan 2021 09:16:31 -0800 (PST) Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com. [209.85.214.177]) by smtp.gmail.com with ESMTPSA id v1sm9115940pga.63.2021.01.15.09.16.31 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 15 Jan 2021 09:16:31 -0800 (PST) Received: by mail-pl1-f177.google.com with SMTP id x12so5015229plr.10 for ; Fri, 15 Jan 2021 09:16:31 -0800 (PST) X-Received: by 2002:a67:70c6:: with SMTP id l189mr10887922vsc.34.1610730685365; Fri, 15 Jan 2021 09:11:25 -0800 (PST) MIME-Version: 1.0 References: <20201211222448.2115188-1-dianders@chromium.org> In-Reply-To: From: Doug Anderson Date: Fri, 15 Jan 2021 09:11:12 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v8 0/4] HID: i2c-hid: Reorganize to allow supporting goodix,gt7375p To: Benjamin Tissoires Cc: Jiri Kosina , Greg Kroah-Hartman , Dmitry Torokhov , Hans de Goede , "open list:HID CORE LAYER" , Kai-Heng Feng , Rob Herring , Stephen Boyd , Andrea Borgia , Anson Huang , Bjorn Andersson , Catalin Marinas , Daniel Playfair Cal , Geert Uytterhoeven , =?UTF-8?Q?Guido_G=C3=BCnther?= , Jiri Kosina , Li Yang , Masahiro Yamada , Max Krummenacher , Michael Walle , Pavel Balan , Shawn Guo , Vinod Koul , Will Deacon , Xiaofei Tan , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux ARM , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Fri, Jan 15, 2021 at 6:58 AM Benjamin Tissoires wrote: > > > Thanks, but don't spend too much time on it, unless something really > > jumps out. I'll debug that tomorrow. It's much easier with an actual > > device than by just looking at the code. > > > > Well, that's weird. Now suspend resume works reliably even with your > series. It could just have been that the lid sensor was too close to a > magnet or something like that. Though while testing the old version of > i2c-hid, it was working... Such a mystery :) Friggin magnets, how do those work? ;-) I also managed to obtain remote access to a device with an ACPI i2c-hid device and confirmed that suspend/resume was working and that I saw no errors, though obviously I couldn't physically interact with the device remotely. Hopefully that gives a tiny bit of extra confidence that the series is OK... > This allows to keep the powering ordering of the old i2c-hid module > (power up before setting device wakeup capable), and simplify the > not so obvious power_fixed field of struct i2c_hid_acpi. > > (I can also send it as a followup on the series if you prefer). Squashed it into a v9 as well as a local variable rename that I noticed while looking at the code with fresh eyes. My v9 also incorporates the new Goodix timing that I self-commented about on v8. Crossing fingers that it's all good now. :-) -Doug