Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp320131iob; Thu, 28 Apr 2022 03:14:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzW6uUoniSej2AXSJIIgw58vjESeukb1PlORnleczr9bT/KFoTat1VlX3gnREqk4OdrEtTg X-Received: by 2002:a17:90b:3903:b0:1d2:c8ea:4c9c with SMTP id ob3-20020a17090b390300b001d2c8ea4c9cmr37503306pjb.210.1651140859291; Thu, 28 Apr 2022 03:14:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651140859; cv=none; d=google.com; s=arc-20160816; b=aI7KdBb+lF+m7uIoFft/C8HP1px3Lre3Cjq5W1ba0q4MksUK3cagnreWdzookafjxy MjDEvKmETIM51ONB0ja4PsVJ2Jk8ZBHhlYln6SA0+crejl7EeUds28yJWZo4NgpzjKfe i8NlHzJBt6GneIOV93dOMnQL3qQ7e4vFBfZ9oxIVsXIML/CCBhhtuuJiKFGYVG2NobFk 7Ee3x/Wbuu/VVcPz/Ce/aOL8bNh7dUz4EUAWyRX21hSdRokrceT1hdI3gUXCbPbvptMm ylhmFWhKjEs8ezkaqwaNdZQGmwwzwsTLA6tpjk++5zZSsgE0GDNBcxyO52b7rYvE+GZe 9XGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id; bh=jAog8+QvtjO/5bc1gNe6XL51h1RuFxb071u01Ejrj/s=; b=cmGWmf2GBwMp93PP4JrcOoKjf8T+kG9Lp2kox3bA5CIYHYWEei5Nk+BIP+BrdPZrIM 9MPz2bLAab4ZBVMxuJzNCH1mc2kzEgDf38k6+cu5u3OVNFdapYD/qQl/3TMm+ym3MjjB iCG2dES7CfIg2/1E3EwWWVGwP7bjYDzTyCqzb6XzfPeeOZh4UJ+6oenFkOIThQXTcFeP kxauE0dxKTzD2r58qFy+/1Xs/64nM//VxJqDOFy4CdT0hZhWWK9PIAdcIwYbd0uJkoCm 3WkSDqi1r2HeYFzWVY7sqkiL3KzIB/FuYZbxVZUVSFOuQPFUzLeEIFnH7+tkOioZqYqN VbEQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y14-20020a17090a784e00b001d25b8d2836si7094077pjl.86.2022.04.28.03.14.05; Thu, 28 Apr 2022 03:14:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244517AbiD1GyR (ORCPT + 99 others); Thu, 28 Apr 2022 02:54:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229612AbiD1GyN (ORCPT ); Thu, 28 Apr 2022 02:54:13 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFED2985B8; Wed, 27 Apr 2022 23:50:58 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4B80E61E28; Thu, 28 Apr 2022 06:50:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5C88CC385A9; Thu, 28 Apr 2022 06:50:56 +0000 (UTC) Message-ID: <5c04f8e6-6522-d26c-29fc-60eb18d4ad90@xs4all.nl> Date: Thu, 28 Apr 2022 08:50:54 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH] Documentation/media: Remove incorrect statement Content-Language: en-US To: Dorota Czaplejewicz , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@puri.sm References: <20220422074024.1329082-1-dorota.czaplejewicz@puri.sm> From: Hans Verkuil In-Reply-To: <20220422074024.1329082-1-dorota.czaplejewicz@puri.sm> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-8.5 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,NICE_REPLY_A,RCVD_IN_DNSWL_HI, 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-kernel@vger.kernel.org Hi Dorota, On 22/04/2022 09:50, Dorota Czaplejewicz wrote: > 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. For future reference: a patch needs to start with a commit message, followed by your Signed-off-by, then '---' and the patch itself. I've taking the paragraph above as the commit message, so no need for you to do anything here. Regards, Hans > > 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.