upstream: [media] v4l: of: Support empty port nodes
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 10 Mar 2014 23:15:12 +0000 (20:15 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:56:08 +0000 (11:56 +0900)
commit3ba995968b9bc5bb61bf744ed832702b729a8cc7
treea69c4b3fa99a90c3f0588247f72110d8734e62c0
parent9a16efc0f5aaefda33fda124e8bab094456e2293
upstream: [media] v4l: of: Support empty port nodes

Empty port nodes are allowed but currently unsupported as the
v4l2_of_get_next_endpoint() function assumes that all port nodes have at
least an endpoint. Fix this.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/v4l2-core/v4l2-of.c