summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodor Tomov <ttomov@mm-sol.com>2011-02-11 16:24:04 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-02-17 14:30:51 +0100
commitdcec5cd33126153292489ebd21ed0bd6cb86ea71 (patch)
tree087a395f9ab82008021dcf7b821d570de569fe0f
parentfb6243b5b25632e96d39ac28b3433811411396b2 (diff)
Update flags in twin link in media_setup_link()
Fix media_setup_link() to update flags in twin link too. Signed-off-by: Todor Tomov <ttomov@mm-sol.com>
-rw-r--r--src/media.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/media.c b/src/media.c
index 114bd13..e0a96d7 100644
--- a/src/media.c
+++ b/src/media.c
@@ -129,6 +129,7 @@ int media_setup_link(struct media_device *media,
}
link->flags = flags;
+ link->twin->flags = flags;
return 0;
}