Re: [RFC PATCH] media: rcar-vin: Allow independent VIN link enablement

2019-01-04 Thread Steve Longerbeam
Hi Niklas, How about a patch that simply replaces the entity use_count check with a stream_count check? As in: diff --git a/drivers/media/platform/rcar-vin/rcar-core.c b/drivers/media/platform/rcar-vin/rcar-core.c index f0719ce24b97..aef8d8dab6ab 100644 --- a/drivers/media/platform/rcar-vin

Re: [RFC PATCH] media: rcar-vin: Allow independent VIN link enablement

2018-12-29 Thread Steve Longerbeam
Hi Niklas, On 12/26/18 4:51 PM, Niklas Söderlund wrote: Hi Steve, Thanks for your patch. On 2018-12-25 15:27:25 -0800, Steve Longerbeam wrote: There is a block of code in rvin_group_link_notify() that prevents enabling a link to a VIN node if any entity in the media graph is in use. This prev

Re: [RFC PATCH] media: rcar-vin: Allow independent VIN link enablement

2018-12-26 Thread Niklas Söderlund
Hi Steve, Thanks for your patch. On 2018-12-25 15:27:25 -0800, Steve Longerbeam wrote: > There is a block of code in rvin_group_link_notify() that prevents > enabling a link to a VIN node if any entity in the media graph is > in use. This prevents enabling a VIN link even if there is an in-use >

[RFC PATCH] media: rcar-vin: Allow independent VIN link enablement

2018-12-25 Thread Steve Longerbeam
There is a block of code in rvin_group_link_notify() that prevents enabling a link to a VIN node if any entity in the media graph is in use. This prevents enabling a VIN link even if there is an in-use entity somewhere in the graph that is independent of the link's pipeline. For example, the code