drivers: video: Fix skipped CIDs when enumerating controls
When enumerating controls with VIDEO_CTRL_FLAG_NEXT_CTRL, if child devices have controls with IDs lower or equal to the ones in the parent devices, those controls will be accidentally skipped. Fix this by resetting the query's ID and tracking of the queried device in the query when moving to the next device in the pipeline. Signed-off-by:Phi Bang Nguyen <phibang.nguyen@nxp.com> Signed-off-by:
Josuah Demangeon <me@josuah.net>
Loading
Please sign in to comment