From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) (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 A7D533C456F for ; Tue, 24 Mar 2026 06:40:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774334407; cv=none; b=E4oj2xMrpRf8Ymue1Nh/1eUo+26m/NGwrMlFPrb4iOFNm2mgjVIchG3W3NBM2KUrtI+d+9mhuuOjKwiAbsV1ZGtbmm64eCxr9iceVamosZ44FaHlF4n7E179UK8D1xjSBOKTS4lZsmESuUmO/e9Ci98i1/UJpgBXZzys08knhUM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774334407; c=relaxed/simple; bh=0MRwoqw5wBg+zBFOjDilpjbp56zFoFLhnDMQTh6a7UY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=JHAFqjv0sbSTtB30eOm9g9lGm/v+oIhC8K3iid3kweNDaUc8hHMZmq/+XQmxR/vjOIkDW+v/V1+fZcLUiGihyG8lxrMfuRoaElgqyGi5XmYMMPwuy+CKw/e3OWVnwh7TBJ1qxJJEUOv/pkCwM3Mt3bNF+USUl2xPB00Buw6BSkQ= 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=CeY9lp5Y; arc=none smtp.client-ip=209.85.216.44 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="CeY9lp5Y" Received: by mail-pj1-f44.google.com with SMTP id 98e67ed59e1d1-35a09e0dd63so4772005a91.3 for ; Mon, 23 Mar 2026 23:40:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1774334403; x=1774939203; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=LhItGXqvjBzAtcGycfEOYT3KW2DCoWkdBzqgD2ulkLc=; b=CeY9lp5YU2BQ6NgnzLbQIEn+Ur+2f5QHwOmeVWdz/5n2YnouTw+AjJr7MWVg64nDAA M5hBSFDSSOVHbaEXiSQKCshYNoGtoW3V0x3ICDqPv0pd9K2KyqMqm2HBXbVuO+0Lq+ry rap5uiysgw+4GOvebqoZQmuJIJXPQqzsl1QMM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774334403; x=1774939203; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=LhItGXqvjBzAtcGycfEOYT3KW2DCoWkdBzqgD2ulkLc=; b=bZvhrWaF2DNG3SDi5woJRModsVjqi5yaSyrp4Wr+DhI0NxgaCHd2hIZOi30MBfMfVC jdrZMYzAf8JB4zRlntAfRuSZzPLePVqqXmhGdVQaANGsTQ21w6D4YO7GvvFV0g21/NdB b1ZJ+9RczYl7w1j6qZA6A0+tX49qxM0F8oCmt02ztq+1DdAhupzllTRuL+2mJgssV2zd fMkUNBov1TeChTcashdQnYWat50mPMiGJvO9AyERwmv9iybUrjoZqJNTJgrF3zme+Pyg /nBm64LSPfb2tPN6ppjna2NJrmX+qeeeQakzJa3vZp/YnKDPdxNUv8Q7Z2J33EKH4juS sGJQ== X-Gm-Message-State: AOJu0Yxpz+HouH99W1H7RoyiSauwGPHiwBPFfQ1s4emV2zURG6Zsl/Pr 5L1ZPQHCOqGDjb0/sN6VULrd1JK/6sR2IEf5dJc8QHnFyiyCQ+sME1BmRvop9zk5EQ== X-Gm-Gg: ATEYQzwXI1Y5JAS2O8eWUCXiXwbH/NnKszAbn+UE9bqg7O5qUOXYVi9+yhwDE/p3DFa wRyylJeStFVjw2lGlT7anSWYffCBjqtWBiOOU+AXb0uasDEfpMr5Zo22rtUDMKkLrYwxoGlePiR BhEi7T9pQf9X4rTxVX2at7T89MHWlTUVC+embLCp3OOLH66BG+6V+truUb4kdGIRYpxJThcfqY9 yiLP9CBkhZvnXZrnb1eB9Pies6SMakudsZQBGKq0r5pVARUZtilXX0MFWzT7xtOllD1/LhVWpjy AjldZtubzs3bwatWHA8kZWcVf+zPqMew6bB1y2+7O74DFy6zAaaP8CJjx5/KIlNPFzDFIefF4Gf GQdD4QiZ0isi8kVdVILcFhFSTZu4uMj4GAv1fDlyxx6ytAZX5DxPXC2jPqbGleSg0NL+aFBeas7 Fo/mwPp/Te8qzZCyonAm/tI8zTSzz92pF3oeDELonwB/GlFYDaS6MuXlKNsT+Y6jjazEIN2enpb sUdLC1uN5MHdG7EFe0zFI4Gwanr+rjE+A== X-Received: by 2002:a17:902:f690:b0:2b0:7ab2:d6b8 with SMTP id d9443c01a7336-2b0827a927bmr149389995ad.36.1774334402723; Mon, 23 Mar 2026 23:40:02 -0700 (PDT) Received: from jingyliang-input-linux.c.googlers.com (111.169.168.34.bc.googleusercontent.com. [34.168.169.111]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2b0835429afsm128416545ad.26.2026.03.23.23.40.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Mar 2026 23:40:02 -0700 (PDT) From: Jingyuan Liang Date: Tue, 24 Mar 2026 06:39:34 +0000 Subject: [PATCH v2 01/11] Documentation: Correction in HID output_report callback description. Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260324-send-upstream-v2-1-521ce8afff86@chromium.org> References: <20260324-send-upstream-v2-0-521ce8afff86@chromium.org> In-Reply-To: <20260324-send-upstream-v2-0-521ce8afff86@chromium.org> To: Jiri Kosina , Benjamin Tissoires , Jonathan Corbet , Mark Brown , Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-input@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, linux-trace-kernel@vger.kernel.org, devicetree@vger.kernel.org, hbarnor@chromium.org, tfiga@chromium.org, Jingyuan Liang , Jarrett Schultz , Dmitry Antipov X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1774334401; l=1212; i=jingyliang@chromium.org; s=20260213; h=from:subject:message-id; bh=g0tTzL+m8OoXUsAyqNr7/kY2I7leLpyd2bbtWafD9xc=; b=e9WXzKEaP6dKZsubkQtfy4jQ5em+iOpYLHwdy+xoCyJJ+pWSMrJ8EtnerWdutqavxYwIMquzd W+ZBPSj7126A1zOwtkXYQKscPXUXvqC5leMmWC5njPZNofkO+xsI7Tm X-Developer-Key: i=jingyliang@chromium.org; a=ed25519; pk=VTYSdqslTtYOjWWoIGgYoWupGWqNSidrggReKMgfPo4= From: Jarrett Schultz Originally output_report callback was described as must-be asynchronous, but that is not the case in some implementations, namely i2c-hid. Correct the documentation to say that it may be asynchronous. Signed-off-by: Dmitry Antipov Reviewed-by: Dmitry Torokhov Signed-off-by: Jingyuan Liang --- Documentation/hid/hid-transport.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/hid/hid-transport.rst b/Documentation/hid/hid-transport.rst index 6f1692da296c..2008cf432af1 100644 --- a/Documentation/hid/hid-transport.rst +++ b/Documentation/hid/hid-transport.rst @@ -327,8 +327,8 @@ The available HID callbacks are: Send raw output report via intr channel. Used by some HID device drivers which require high throughput for outgoing requests on the intr channel. This - must not cause SET_REPORT calls! This must be implemented as asynchronous - output report on the intr channel! + must not cause SET_REPORT calls! This call might be asynchronous, so the + caller should not expect an immediate response! :: -- 2.53.0.983.g0bb29b3bc5-goog