[media] v4l: vsp1: Make number of BRU inputs configurable
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 3 Aug 2015 12:46:26 +0000 (09:46 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 19 Feb 2016 11:16:07 +0000 (09:16 -0200)
commita96c5fa4502eec35972c9236636bd3f7af8bf69f
tree3d1bf85389edf40bd666327ab7719fb3f0848c8f
parent665b693c82ca2f92c1e7d63357a52d21397b05f0
[media] v4l: vsp1: Make number of BRU inputs configurable

The R-Car Gen3 family has 5-inputs BRUs, support them by making the
number of BRU inputs configurable.

As the driver assumes that the number of BRU inputs is equal to the
number of RPFs, replace the BRU_MAX_INPUTS macro with VSP1_MAX_RPF to
make the assumption apparent.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vsp1/vsp1.h
drivers/media/platform/vsp1/vsp1_bru.c
drivers/media/platform/vsp1/vsp1_bru.h
drivers/media/platform/vsp1/vsp1_drv.c
drivers/media/platform/vsp1/vsp1_entity.h