From patchwork Fri Apr 22 07:50:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dorota Czaplejewicz X-Patchwork-Id: 82631 X-Patchwork-Delegate: hverkuil@xs4all.nl Received: from vger.kernel.org ([23.128.96.18]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from ) id 1nho6g-00BnCG-QZ; Fri, 22 Apr 2022 07:53:35 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1445152AbiDVH4U (ORCPT + 1 other); Fri, 22 Apr 2022 03:56:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1445142AbiDVH4T (ORCPT ); Fri, 22 Apr 2022 03:56:19 -0400 Received: from comms.puri.sm (comms.puri.sm [159.203.221.185]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75BA351E53; Fri, 22 Apr 2022 00:53:12 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 3131DE0167; Fri, 22 Apr 2022 00:52:42 -0700 (PDT) Received: from comms.puri.sm ([127.0.0.1]) by localhost (comms.puri.sm [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AoAItcZSh5Jc; Fri, 22 Apr 2022 00:52:41 -0700 (PDT) Date: Fri, 22 Apr 2022 09:50:41 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=puri.sm; s=comms; t=1650613961; bh=nA+vS/aVzkwJ49gPvwKQ6UgaV68rU6pGl2lO0ta88Eg=; h=Date:From:To:Subject:From; b=QtBob9lhd0G+InpAoTMAeVeCaUd5hyFdXvRu1rsB76PW95nrZU0aQNNnkkzHlWmv9 ZJOVxgO4RL+CvuBv3suh3xIr/WD8h5eqXOYyoGgeXuH1eSJfa8f1LI+nULLCh44jXP 0ZT+2+CycbgGFoj6e4oaA6hwOse5KhKjHYwTxMhIMCqgzVoODbdVTRTyIuiSsueIhj ZYYVXjQT2hLCp7v82XJk5djl3o+M7dQBa9K2o2B4sz2cQ64BKHKjeuOsDXwhtLrOJ0 bMufKrJgTiTpPqo7DpYEtm68pWeeSbyY5FCtnyeHOWGMtGnl9C/yend+CT7IQRLi+t IESyypXwnB6Eg== From: Dorota Czaplejewicz To: Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@puri.sm Subject: [PATCH] Documentation/media: Remove incorrect statement Message-ID: <20220422074024.1329082-1-dorota.czaplejewicz@puri.sm> Organization: Purism MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-LSpam-Score: -2.5 (--) X-LSpam-Report: No, score=-2.5 required=5.0 tests=BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1 autolearn=ham autolearn_force=no Signed-off-by: Dorota Czaplejewicz --- Hi, I tried to debug streaming in libcamera, where I stumbled upon this. I asked around on IRC where I was told that this statement in the documentation is wrong, so I'm submitting a removal. Cheers, Dorota Czaplejewicz Documentation/userspace-api/media/v4l/vidioc-streamon.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/userspace-api/media/v4l/vidioc-streamon.rst b/Documentation/userspace-api/media/v4l/vidioc-streamon.rst index 0bc86f06947b..1a79313a29fa 100644 --- a/Documentation/userspace-api/media/v4l/vidioc-streamon.rst +++ b/Documentation/userspace-api/media/v4l/vidioc-streamon.rst @@ -43,8 +43,7 @@ the capture or output process during streaming Capture hardware is disabled and no input buffers are filled (if there are any empty buffers in the incoming queue) until ``VIDIOC_STREAMON`` has been called. Output hardware is disabled and no video signal is -produced until ``VIDIOC_STREAMON`` has been called. The ioctl will -succeed when at least one output buffer is in the incoming queue. +produced until ``VIDIOC_STREAMON`` has been called. Memory-to-memory devices will not start until ``VIDIOC_STREAMON`` has been called for both the capture and output stream types.