media: omap3isp: Explicitly set the number of CSI-2 lanes used in lane cfg
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 13 Jul 2017 16:11:32 +0000 (12:11 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 19 Jul 2017 19:46:06 +0000 (15:46 -0400)
commit3a738c3fd8abc5927a9f98a913298c1e6f8a95fe
tree411b31151c5b5ec43dea1dc3cbacfddd4bac0f41
parent838a6c561899e7c595396321dede41bc04f1fb7e
media: omap3isp: Explicitly set the number of CSI-2 lanes used in lane cfg

The omap3isp driver extracts the CSI-2 lane configuration from the V4L2
fwnode endpoint but misses the number of lanes itself. Get this information
and use it in PHY configuration.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Tested-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/omap3isp/isp.c
drivers/media/platform/omap3isp/ispcsiphy.c
drivers/media/platform/omap3isp/omap3isp.h