From patchwork Mon Oct 30 22:31:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: andrey.konovalov@linux.dev X-Patchwork-Id: 159882 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:d641:0:b0:403:3b70:6f57 with SMTP id cy1csp2547078vqb; Mon, 30 Oct 2023 15:32:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGURv7eJgXziZZpXG0wveYvcFCXAQJabqFybcw50uUtdI7LVcdPJpfRZQM+WjFCwYbb3t5T X-Received: by 2002:a17:902:e5c3:b0:1cc:58f1:8646 with SMTP id u3-20020a170902e5c300b001cc58f18646mr2843971plf.50.1698705139513; Mon, 30 Oct 2023 15:32:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698705139; cv=none; d=google.com; s=arc-20160816; b=z6UQnnqjYmUF9XyYRLsJdKYlPU5CVv2RbWs9Mo/Vznem39wyArt3sr5ika7BThrK73 skL7Z0qA4b9kToSr1QTHER4ZJv6qoJ3XWCwyzm4MQAspdGMEZqgxYCIr9+5z9gOAYX2U 8gwqRiV6WQdSkvQahQttkAvQ+nWfIl6oPQE+9sYQt9ybLany7Imf8+akhmx+/6qpUfRT d5pWqC1u0PXplSwU2vh7vJHtzKgsuwB85wCBuBhhoWzCAcK20YFOt7Qfw0XDu/rc5dHV InNYjkulV+MzkYMSFihDkK5kNSIhZDS3PXo3+W6WDjvVhsMTBebb3Eo91e96sgZPoG4S 4ArQ== 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=dX/CNNGfQ6c5dPpCwI6UOaZajkT8HSm2ODmF0tBLXhk=; fh=swjxqjQ9hhASm8GoxkZi+6BQ9X7UYEMXc0fZW0c9whc=; b=OBNC3REs3GwM57c0pyMj1Gg2NDl0zBFV7Zy7gdkJn7L38DKFbX+M+GgC089f2tgpVG /FavBJXtP70s4xTLh0cjOrXIrZePJ8UNADhPDluCLi1WVITB0VxN//+sM2KFO5Fo8CXS UwFkJKTsuazBLDLRSzYUdVV3+thV8qMUIT58XbKoRrx5NFCZzPC+x8giUgAwICioHlvC ov+NwJpq3hmcGramqVk8YQYSwFcNXYZAxxPjA1Agd+QkyoFu4Ifb0+IFq84lj+gbj+Bt qU4klmIi6YkJuOaDsUOG2GJtMRJ/QdWZkyQGwPZ3LN+uRQ7Gk5crGWCsiYcgeNgGFmVg LUAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=uScaisRt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id l5-20020a170903120500b001cc30cb3fbesi54313plh.147.2023.10.30.15.32.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 15:32:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=uScaisRt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 119DB809C66B; Mon, 30 Oct 2023 15:32:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229978AbjJ3WcI (ORCPT + 32 others); Mon, 30 Oct 2023 18:32:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229646AbjJ3WcH (ORCPT ); Mon, 30 Oct 2023 18:32:07 -0400 Received: from out-181.mta0.migadu.com (out-181.mta0.migadu.com [IPv6:2001:41d0:1004:224b::b5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1744FFE for ; Mon, 30 Oct 2023 15:32:04 -0700 (PDT) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1698705122; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=dX/CNNGfQ6c5dPpCwI6UOaZajkT8HSm2ODmF0tBLXhk=; b=uScaisRtxc5f6AxWz0R5aDz611fTWv469IFtr/9dW7S9xusx288MD3RyerH5qDTRPO8jya Z+arpJXjJIjVI45nX2tmbTlrMkHzZPjDNkvS28ac0RLP3wwWOH6SEd2afXdlWwhrDPAFwH pj0kFs68VWruzszKBSMnFDwo6/ea56I= From: andrey.konovalov@linux.dev To: Greg Kroah-Hartman Cc: Andrey Konovalov , Alan Stern , Felipe Balbi , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] usb: raw-gadget: update documentation Date: Mon, 30 Oct 2023 23:31:58 +0100 Message-Id: <20231030223158.36636-1-andrey.konovalov@linux.dev> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 30 Oct 2023 15:32:15 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781221440431207410 X-GMAIL-MSGID: 1781221440431207410 From: Andrey Konovalov A recent patch added reporting of more event types to Raw Gadget. Update the documentation to reflect that this feature has been implemented. Signed-off-by: Andrey Konovalov --- Documentation/usb/raw-gadget.rst | 3 --- 1 file changed, 3 deletions(-) diff --git a/Documentation/usb/raw-gadget.rst b/Documentation/usb/raw-gadget.rst index 818a1648b387..59b2132b584d 100644 --- a/Documentation/usb/raw-gadget.rst +++ b/Documentation/usb/raw-gadget.rst @@ -81,9 +81,6 @@ feature must be kept in the implementation. Potential future improvements ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- Report more events (suspend, resume, etc.) through - ``USB_RAW_IOCTL_EVENT_FETCH``. - - Support ``O_NONBLOCK`` I/O. This would be another mode of operation, where Raw Gadget would not wait until the completion of each USB request.