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: 565153 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B76AAC433EF for ; Fri, 22 Apr 2022 07:53:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1445152AbiDVH4U (ORCPT ); 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 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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.