]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commita94551b62a934437f439cfefd1ce138fc8ed6556
tree3d1bf85389edf40bd666327ab7719fb3f0848c8f
parentb28397f118dccaa963c76d07926474903a711040
[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