Re: [PATCH 1/5] media: entity: Fix stream count check

2016-12-08 Thread Laurent Pinchart
Hi Sakari, Thank you for the patch. On Friday 25 Nov 2016 15:55:42 Sakari Ailus wrote: > There's a sanity check for the stream count remaining positive or zero on > error path, but instead of performing the check on the traversed entity it > is performed on the entity where traversal ends. Fix

[PATCH 1/5] media: entity: Fix stream count check

2016-11-25 Thread Sakari Ailus
There's a sanity check for the stream count remaining positive or zero on error path, but instead of performing the check on the traversed entity it is performed on the entity where traversal ends. Fix this. Fixes: commit 3801bc7d1b8d ("[media] media: Media Controller fix to not let stream_count