]> asedeno.scripts.mit.edu Git - linux.git/commit
media: ipu3-cio2: Parse information from firmware without using callbacks
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 4 Mar 2019 11:29:43 +0000 (06:29 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 25 Jul 2019 15:01:24 +0000 (11:01 -0400)
commit2c93346698bacd5e1a7fb59b7a5ab84cae1cc5da
tree591f1b4f1b2e48148250d4e83cdcac85919a1aaa
parent706c0cffaf2a1b5844fc99e62c09a21f7a7acfdf
media: ipu3-cio2: Parse information from firmware without using callbacks

Instead of using the convenience function
v4l2_async_notifier_parse_fwnode_endpoints(), parse the endpoints and set
up the async sub-devices without using callbacks. While this adds a little
bit of code, it makes parsing the endpoints quite a bit more simple and
gives more control to the driver over the process. The parsing assumes
D-PHY instead of letting the V4L2 fwnode framework guess it.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/pci/intel/ipu3/ipu3-cio2.c