Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp435685lqg; Thu, 11 Apr 2024 07:25:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWMUU9rT+5j5uwXn/THYaP9320fnD6nzw6UtuYe7qdoT/6rLd/evPB93WNavDZFrwGun+6UytwKlycHcej+A3Uxj4aZmH6WwSXGJU8jgA== X-Google-Smtp-Source: AGHT+IGRa1iyQJvV0YycqFmRF/xQ/G4GDnKxz4gi2/UYmrNCoZDs89AoTumvtpg0GLshYJzVj5mC X-Received: by 2002:a05:6e02:1a89:b0:36a:31f0:c4 with SMTP id k9-20020a056e021a8900b0036a31f000c4mr6951603ilv.29.1712845538805; Thu, 11 Apr 2024 07:25:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712845538; cv=pass; d=google.com; s=arc-20160816; b=ZWfy/QOjr8dXZYqG74PxOLRxz0rwW7c80IbB2Ntilb9HySulwbQCICXYJ6zP56zNsf PZjAWG3H/XOXlRZ54TZx1ED1yqcVEp+HeVOKtBmKy0O9N5tpracSBSa+Zm6wtAUW/bMS sxa5NFdHs7g+ti/r83iw+t8J/axOHHdnKZJ9XOFhRAw0kSEj6JFaSBFnYuesHducEh42 J5doqpTg/BG0dsqdOVCDwl9UtSFJwuV9+ZDl85MI6NQOzZj0KGGr9o+XNEP35pzBwswH 8/M21X5RPNi0+CYgr6SHYr4NzgBSh9VHs3a0HgPKPi0/dYaFXKKoex/4bS+TXPeYr9vz sz/Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=LUtbADJQAYJxj/Ogfyr9IscI3lkrbxOS5D0BwfwnczY=; fh=HKvaKJj7KpXhhkenyhN/1tZlFK6lgKHcJ+RIycF8ARs=; b=QDl8nvq/WqOHOPGlejEgMYA4nSNQxEwBJICBy/3xYWvXbE54k3/F1tFouNI2uC73q6 h3CqwfVKnICt+7GqtoKEwqYmjiwBSdd2EaJclqBSU0rj1uKko8fI860BQtGJAMXpkikG GwIgt2oemyk6Q4LqqE+BgOTlZ5ox4DYpxbOoKdNPo0U+xm1a8gfLGg8q1N4F7i5Kvs3F lEhYG+eXCJLXD+92cIrYRdZsjjy3CeYTXqLP9a3JgbM4bXT0TMoLBDsAku6VDmRbZJ4Z AdKc8Azb8qgJt/qzP+BnKsTP2wyE0XxvVN1tj9fmtSdtE5sRf4KcQxJJ2xCO0SC1uNny tDig==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ZIaEiIWe; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-140636-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140636-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.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 o20-20020a637e54000000b005f3e052770esi1333153pgn.83.2024.04.11.07.25.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 07:25:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-140636-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=@chromium.org header.s=google header.b=ZIaEiIWe; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-140636-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140636-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.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 DD9F4288BFC for ; Thu, 11 Apr 2024 14:23:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 156B014E2F6; Thu, 11 Apr 2024 14:23:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="ZIaEiIWe" Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (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 C79C314D6FC for ; Thu, 11 Apr 2024 14:23:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712845422; cv=none; b=Vjqy2RGu+ds/h2KwdTu9ofoCY1YFYGSGaAWRH6oi2Pw0G/CzsTZxmvteJrrl0+W8nPxQ6ZkFTWNWypEupXVqxscrG22X1bh8gc2tGOCTVuMRSy9IaaqS1PSmRC3k6pVQV1G+uX4E2qpnv6LyjMhHz3oQ/0inxWUk+INxxHxu9B0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712845422; c=relaxed/simple; bh=LUtbADJQAYJxj/Ogfyr9IscI3lkrbxOS5D0BwfwnczY=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=r1Rzj8y4G6bfAMWNFzylb+L2YaHnUtspvCMWbrkbSKahBITS2w8PRqlQhMvEkrVio4Vtw67lDcGnb6cWSjDx6LwxZvPIBeKOY+4iYJbXrdgCK2S2bmdyLGBpeLA0e4octC6RtsmygqPrxlZ++0xG4HPZo8yw30yX8XqbAfGZGN4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=ZIaEiIWe; arc=none smtp.client-ip=209.85.208.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2d8b2389e73so33651051fa.3 for ; Thu, 11 Apr 2024 07:23:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1712845419; x=1713450219; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=LUtbADJQAYJxj/Ogfyr9IscI3lkrbxOS5D0BwfwnczY=; b=ZIaEiIWebG2vtqDM3ZAa8oK7bMvVH5yIqVL1dgs+McEuEgzuiF0D0iFY0WKrWOcSmU fq0FhbTHU67nMtnFX2Ix855HUg4nQCA4KtJZc6l5HfrVvjT7q33OKbiHlP0Q6rItep9q t7JjgT1Nf/0gTgyUneHkrQiH8gkVnc5Jf+cVc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712845419; x=1713450219; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=LUtbADJQAYJxj/Ogfyr9IscI3lkrbxOS5D0BwfwnczY=; b=cCMEfOtTA1QCODDsQcQ1uty8P6LKXG0ejAxoBOwPIcRdVhz7stvyR3qYjPAOQjEfuA wkjikwZPxEIwxINFCXmz48jAy+JPImvxcR4zxFR3QPUMthQkqMpGg49BFa3y8X0j8VB8 xjcaH6GscB9uEODLfenxfi3h9XcanY7zqPfrma8z1st10VynNweB/ua/Da++aFBWkx4Z /CS33+3w2uQPuwlAGlD/BrKcZ5wNJ10aAIJeVDPhDsrNJoaJxP3FMesbNuBMUeekiuak ak3oUtq8ImDZ2t2JJLmMovk+KW5qCmNHEkO5TMlC/F0H+7RCy4b4VV9r0eAymCBIZ0kP NEDg== X-Forwarded-Encrypted: i=1; AJvYcCXXXCTFIlZrjE8mdqENk/RyXMpyUhMot7yeDI5TBNw3cjDFlcqWEk5W7WDZhufiM2PN403U9iXbPdDMm/ya5zIE9yRF9K/nFpwUpsBt X-Gm-Message-State: AOJu0YyGk0CEg98u1vrTinIQAc8DrSwDGgZhn4UQDWjLCywtQg8QlxKj uKBcLf35h0jeagAV83E09S0WYjqIpVSuBumcdQZSX9mhDUnnvq6yHGnVYKW7vCt6KUe4kz9T3la F/NLTA7/CHcunILrdhp+sYwvxNKWP0KPQLk2k X-Received: by 2002:a2e:7d12:0:b0:2d8:7200:38ff with SMTP id y18-20020a2e7d12000000b002d8720038ffmr3769523ljc.24.1712845418803; Thu, 11 Apr 2024 07:23:38 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240405102436.3479210-1-lma@chromium.org> In-Reply-To: From: =?UTF-8?Q?=C5=81ukasz_Majczak?= Date: Thu, 11 Apr 2024 16:23:27 +0200 Message-ID: Subject: Re: [PATCH v2] HID: i2c-hid: wait for i2c touchpad deep-sleep to power-up transition To: Johan Hovold Cc: Jiri Kosina , Dmitry Torokhov , Benjamin Tissoires , Douglas Anderson , Hans de Goede , Maxime Ripard , Kai-Heng Feng , Johan Hovold , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Radoslaw Biernacki Content-Type: text/plain; charset="UTF-8" > Sure, but what about other transactions that are initiated by the host > (e.g. SET_POWER)? > Somehow it is problematic only on reboot and works just fine on suspend/resume and set_power. I will dig more and try to find out what the difference is. > Perhaps this hack at probe is enough for your use case, but is an > incomplete hack and at a minimum you'd need to add a comment explaining > why it is there. > You mean a comment in the code ? Lukasz