media: entity: Use dedicated data link iterator
authorDaniel Scally <djrscally@gmail.com>
Thu, 7 Jul 2022 22:47:33 +0000 (23:47 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 15 Jul 2022 14:32:58 +0000 (15:32 +0100)
commit549e622b22ad35d79b5a9ea361854c119584a5fa
tree1affbdff0cf3a418df5f248bbd911da7a98a4115
parent1ed3d6446b966143e67a106132eea169b3fc5e1c
media: entity: Use dedicated data link iterator

Where iteration over links for an entity is clearly assuming that
all of those links are data links, use the new iterator to guarantee
that assumption is met.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Daniel Scally <djrscally@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/mc/mc-entity.c