Re: [RFC/PATCH v6 09/12] media: Entity locking and pipeline management

2010-11-25 Thread Mark Brown
On Thu, Nov 25, 2010 at 03:28:16AM +0100, Laurent Pinchart wrote: Link states must not be modified while streaming is in progress on a graph they belong or connect to. The entity locking API helps drivers enforcing that requirement. This is not desirable for embedded audio - for example, it is

Re: [RFC/PATCH v6 09/12] media: Entity locking and pipeline management

2010-11-25 Thread Laurent Pinchart
Hi Mark, On Thursday 25 November 2010 14:53:51 Mark Brown wrote: On Thu, Nov 25, 2010 at 03:28:16AM +0100, Laurent Pinchart wrote: Link states must not be modified while streaming is in progress on a graph they belong or connect to. The entity locking API helps drivers enforcing that

[RFC/PATCH v6 09/12] media: Entity locking and pipeline management

2010-11-24 Thread Laurent Pinchart
Link states must not be modified while streaming is in progress on a graph they belong or connect to. The entity locking API helps drivers enforcing that requirement. When starting streaming on a graph, drivers lock all entities in the graph with a call to media_entity_graph_lock(). Similarly,