diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2017-03-04 10:52:40 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-08-20 14:17:38 +0200 |
commit | 7e1db599b99655af2b2cbeaf14aab1a07d84fc6d (patch) | |
tree | b17fa884e2f73653af59602279bcbbf43686138a /include/media | |
parent | media: omap3isp: Always initialise isp and mutex for csiphy1 (diff) | |
download | linux-7e1db599b99655af2b2cbeaf14aab1a07d84fc6d.tar.xz linux-7e1db599b99655af2b2cbeaf14aab1a07d84fc6d.zip |
media: omap3isp: csiphy: Don't assume the CSI receiver is a CSI2 module
The CSI PHY is associated with a CSI receiver. The code assumes this
receiver is a CSI2 module and relies on the CSI2 module object heavily to
access the ISP or pipeline objects. However, the receiver could also be a
CSI1/CCP2 module.
Pass a new CSI receiver entity pointer to the CSI PHY acquire function, and
replace all hardcoded usage of the CSI2 module with that CSI receiver
entity.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> # on Beagleboard-xM + MPT9P031
Acked-by: Pavel Machek <pavel@ucw.cz>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions