diff mbox

[PATCH/RFC,v2,26/56] media: Add request field to struct media_link_desc

Message ID 1453424245-18782-27-git-send-email-laurent.pinchart+renesas@ideasonboard.com (mailing list archive)
State RFC
Delegated to: Geert Uytterhoeven
Headers show

Commit Message

Laurent Pinchart Jan. 22, 2016, 12:56 a.m. UTC
From: Sakari Ailus <sakari.ailus@linux.intel.com>

Let userspace specify a request ID when setting up links.

From a userspace point of view the API change is minimized and doesn't
require any new ioctl.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
 include/uapi/linux/media.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox


diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h
index fd8887a03988..5554920f75ae 100644
--- a/include/uapi/linux/media.h
+++ b/include/uapi/linux/media.h
@@ -155,7 +155,8 @@  struct media_link_desc {
 	struct media_pad_desc source;
 	struct media_pad_desc sink;
 	__u32 flags;
-	__u32 reserved[2];
+	__u32 request;
+	__u32 reserved;
 struct media_links_enum {