]> asedeno.scripts.mit.edu Git - linux.git/commit
media: omap3isp: Rework OF endpoint parsing
authorSakari Ailus <sakari.ailus@linux.intel.com>
Fri, 1 Mar 2019 13:08:02 +0000 (08:08 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 25 Jul 2019 14:59:49 +0000 (10:59 -0400)
commit2ea4cfc9a7163b48514361cb02d46b0546dfcc86
tree6ac03c0551cc13396fde60ecce3bc036eeee57f1
parent820342aca05188c9af4b468d6c41b3327161f7ad
media: omap3isp: Rework OF endpoint parsing

Rework OF endpoint parsing for the omap3isp driver. This does add some
lines of code. The benefits are still clear:

- the great complication related to callbacks in endpoint parsing is gone;
  instead endpoints are obtained port by port and

- endpoints may now have a default bus configuration which was not
  possible while using callbacks. This driver does not benefit from that
  feature, but as the omap3isp is one of the exemplary drivers, this works
  as an example for driver developers.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Tested-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/omap3isp/isp.c