commit | 4fd463e9389f9c5ea00a327b4ff01daf5869e774 | [log] [tgz] |
---|---|---|
author | Sakari Ailus <sakari.ailus@linux.intel.com> | Tue Apr 25 13:23:00 2023 +0300 |
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | Thu May 25 16:21:22 2023 +0200 |
tree | 2252d50132ff64ca13f7df7fa95098ea84b85317 | |
parent | 7ab9484332d9688df1ce4b87d3adfcb4ded9b903 [diff] |
media: mc: Make media_get_pad_index() use pad type flag Use the pad flag specifying the pad type instead of a boolean in preparation for internal source pads. Also make the loop variable unsigned. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>