From: Sakari Ailus Date: Sun, 13 Oct 2013 11:00:26 +0000 (-0300) Subject: [media] media: Check for active links on pads with MEDIA_PAD_FL_MUST_CONNECT flag X-Git-Tag: v3.14-rc1~20^2~387 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de49c285a3604955dcbf746edd871f2a4f128122;p=pandora-kernel.git [media] media: Check for active links on pads with MEDIA_PAD_FL_MUST_CONNECT flag Do not allow streaming if a pad with MEDIA_PAD_FL_MUST_CONNECT flag is not connected by an active link. This patch makes it possible to avoid drivers having to check for the most common case of link state validation: a sink pad that must be connected. Signed-off-by: Sakari Ailus Tested-by: Sylwester Nawrocki Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed