Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [185.185.170.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 77C5C3988E6 for ; Wed, 25 Mar 2026 12:34:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=185.185.170.37 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774442076; cv=pass; b=bSk+CWrcvBE+fC0/eKcHbgDtS7Piugs6NxM20kAGqXOAyZPbiQatWuTvY3I7zMJf+CSjyZMi5Fsa1gzrWedTjKqXgUBNDoD1of/xNDoEKC2epDV16X4DY2/zzLQvtY8QSy5ONZ0ZJPib7sORsBfBEX/bFF/nna6qQi/m6jPyscY= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774442076; c=relaxed/simple; bh=07JrRyr+25nKu/vUeQsnj3nA5oLzETCwN3DQYNvfy/8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=fAhz72OHaTX2DvuwapcOMFvtU1g/rN1zjjX2A+fXcWLL/nR260sgyrqDXOA5Qn5BVjqLBCVi7/Mv5EzNOIt1Um03zxxTOyYrAzC84OhB6SYg/nEMp3V5lRCJjWbTB+adOnimTw4tqsb8icz/wtYZKIKCF7p9C2dPpUrVEBntDbg= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=iki.fi; spf=pass smtp.mailfrom=iki.fi; dkim=pass (2048-bit key) header.d=iki.fi header.i=@iki.fi header.b=lTYH5aFw; arc=pass smtp.client-ip=185.185.170.37 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=iki.fi Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=iki.fi Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=iki.fi header.i=@iki.fi header.b="lTYH5aFw" Received: from hillosipuli.retiisi.eu (n18ws8cotq5gnfn8-1.v6.elisa-laajakaista.fi [IPv6:2001:99a:0:19f:4ce7:0:938c:d2f4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sailus) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id 4fgmYs6GqRz49PyD; Wed, 25 Mar 2026 14:34:25 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1774442067; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0am2X80AoRPQAoaLag8eporFmoFogQZjYq0UrHRmJC8=; b=lTYH5aFwjQIiWYn9vlat06l/uSF2lWBtNuSY0du2YtiqMgoF91NHCp4qOKW0oZ1c0MW9NK MyDM+7qfufBLgWtZ7Not/oIdSWETmdecSEgKJmUs/QGyUFR63VmV33hkxwB70F3gsZTGLk TTAL7tCwzDWtbZtwIZObT/1wK2Y0SEKsu+68582AqGcOOoPMT70I0GyZ6jj+ZDIPXopB7G vRTH7+cBRBaOa07Mcd7xujFeOsPb3xY7i5HfEakFDNuBdc+cj9aKzqo3RQiB5EteMw3XLZ RQTl3CVMaY1+pdiCofh7MZnlxHTZWxLVk1NSKwyuhNe5K/9YSdpW0/GwgOKgeQ== ARC-Seal: i=1; a=rsa-sha256; d=iki.fi; s=lahtoruutu; cv=none; t=1774442067; b=Xj5TDLgUs0/RfY3gW9NHp1r/0pXto+YKQmWbFvqtf/mI6qznMrZNtUM/D19AgVZiJMQChD HWvNEJRLRIz55nAUXQuZUP1qUTPXUZq0l0dsAP9a9h2+EkKcUU9AJZelij0j4MWdKMwivw WDSdZuhgnEFZHxH5srMtEW+xF+LP375ppDSILjH5NQcWTAQqnWmRdaYsE3VxJKBS8fN84p ncNTT1uUBSdlZ/sbq3Exki3x3OwN+vmFeDfxqXcTuBOyEr9LhkZh2fy9Oeie7u+FwRXkYJ TbP+W7oxoGbOf17Kmbw/p+rwv3Y34HBJ4gFOLzcgqjn8NgdRFSCMyrSc8S31oQ== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=sailus smtp.mailfrom=sakari.ailus@iki.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1774442067; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0am2X80AoRPQAoaLag8eporFmoFogQZjYq0UrHRmJC8=; b=eXocunOsRV0S5OXHZIhxHUihnAMCpe/sfyVqaXUGAvxcnPwXXCUPllq5nsYBj0R0qU/FdX dVfEAnH5mUgY/gnZHIBwuu8YXuw0QPPv4pjhx6pc00oENvCrO9j2T9yAx699h8jyOjt1h8 rsYK2ZLt1o3MzLfT21L6Lzkzc325ZxwEgugHOpoUGkCIcAYPzvX2Q53gOvKEkYsY7G70eb bIMBt+06Q+srhR0obeh0m3Za78NOwQN9jvEqb8UO7uDL4aR9jSgXKvGey+4p2DV8K9e/LC pS8YdN1FOj4/P6/3+ixBVemEXbraBNBdByCoC3OZrkIpjPUXnDmZxUic06+nhQ== Received: from valkosipuli.retiisi.eu (valkosipuli.local [192.168.4.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange secp256r1 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by hillosipuli.retiisi.eu (Postfix) with ESMTPS id 5C28C634C4E; Wed, 25 Mar 2026 14:34:24 +0200 (EET) Date: Wed, 25 Mar 2026 14:34:24 +0200 From: Sakari Ailus To: Sakari Ailus Cc: linux-media@vger.kernel.org, hans@jjverkuil.nl, laurent.pinchart@ideasonboard.com, Prabhakar , Kate Hsuan , Dave Stevenson , Tommaso Merciai , Benjamin Mugnier , Sylvain Petinot , Christophe JAILLET , Julien Massot , Naushir Patuck , "Yan, Dongcheng" , "Cao, Bingbu" , "Qiu, Tian Shu" , Stefan Klug , Mirela Rabulea , =?iso-8859-1?Q?Andr=E9?= Apitzsch , Heimir Thor Sverrisson , Kieran Bingham , Mehdi Djait , Ricardo Ribalda Delgado , Hans de Goede , Jacopo Mondi , Tomi Valkeinen , David Plowman , "Yu, Ong Hock" , "Ng, Khai Wen" , Jai Luthra Subject: Re: [PATCH v3 14/14] media: Improve enable_streams and disable_streams documentation Message-ID: References: <20260325105818.1176816-1-sakari.ailus@linux.intel.com> <20260325105818.1176816-15-sakari.ailus@linux.intel.com> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260325105818.1176816-15-sakari.ailus@linux.intel.com> Folks, Please ignore this patch -- it was somehow left to the directory where I sent the set. On Wed, Mar 25, 2026 at 12:58:10PM +0200, Sakari Ailus wrote: > Document that enable_streams may start additional streams and > disable_streams may not disable requested streams if other related streams > are still enabled. > > Signed-off-by: Sakari Ailus > Reviewed-by: Jacopo Mondi > Reviewed-by: Mirela Rabulea > --- > include/media/v4l2-subdev.h | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h > index d256b7ec8f84..4588992b4417 100644 > --- a/include/media/v4l2-subdev.h > +++ b/include/media/v4l2-subdev.h > @@ -814,6 +814,10 @@ struct v4l2_subdev_state { > * V4L2_SUBDEV_CAP_STREAMS sub-device capability flag can ignore the mask > * argument. > * > + * Starting the requested streams may require starting additional > + * streams. Streams that are started together due to hardware are called a > + * stream group. > + * > * @disable_streams: Disable the streams defined in streams_mask on the given > * source pad. Subdevs that implement this operation must use the active > * state management provided by the subdev core (enabled through a call to > @@ -823,6 +827,9 @@ struct v4l2_subdev_state { > * Drivers that support only a single stream without setting the > * V4L2_SUBDEV_CAP_STREAMS sub-device capability flag can ignore the mask > * argument. > + * > + * A stream group is disabled when one or more streams in the stream > + * group are disabled. > */ > struct v4l2_subdev_pad_ops { > int (*enum_mbus_code)(struct v4l2_subdev *sd, > -- > 2.47.3 > > -- Sakari Ailus