[media] media: Properly handle link flags in link setup, link notify callback
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 11 Mar 2011 14:34:35 +0000 (11:34 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 17 Apr 2011 10:43:32 +0000 (07:43 -0300)
commit7a6f0b22706e2314dbba91f53d20502050aec1d2
tree7b4772155fd7483d6a45a0233ebcba753b48617e
parent2d4e9d1db22117ebcd4f3353cb45292a8704d511
[media] media: Properly handle link flags in link setup, link notify callback

The link flags were not properly handled in __media_entity_setup_link
which could lead to link_notify callback to be called when the flags are
not modified. Fix this.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/media-entity.c