[media] vsp1: Use the maximum number of entities defined in platform data
authorKatsuya Matsubara <matsu@igel.co.jp>
Fri, 26 Jul 2013 09:32:12 +0000 (06:32 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 18 Aug 2013 10:31:14 +0000 (07:31 -0300)
commit83453a7cc8b703ce818c24c2298822b0b179e652
tree129e931949af5ff21370f1466253b5b0280c3d96
parentdb32eb6c18d7617e61ca65eb13b66de4dea56f1f
[media] vsp1: Use the maximum number of entities defined in platform data

The VSP1 driver allows to define the maximum number of each module
such as RPF, WPF, and UDS in a platform data definition.
This suppresses operations for nonexistent or unused modules.

Signed-off-by: Katsuya Matsubara <matsu@igel.co.jp>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/vsp1/vsp1_drv.c