author | Pratyush Yadav <p.yadav@ti.com> | |
Thu, 18 Feb 2021 12:09:35 +0000 (17:39 +0530) | ||
committer | Vignesh Raghavendra <vigneshr@ti.com> | |
Thu, 18 Feb 2021 12:36:26 +0000 (18:06 +0530) | ||
commit | 3094481d9b1110924a2303e5496449c12d1d95cb | |
tree | 9b6ea7317df24796ee6683fc87031459ee0d8bb0 | tree | snapshot (tar.xz tar.gz zip) |
parent | 93b3daa4a1bb799d1522b7cae81d43727a3e86eb | commit | diff |
media: cadence: csi2rx: Add wrappers for subdev calls
When this bridge driver is being user by another platform driver, it
might want to call subdev operations like getting format, setting
format, enumerating format codes, etc. Add wrapper functions that pass
that call through to the sensor.
Currently wrappers are added only for the ops used by TI's platform
driver. More can be added later as needed.
Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
When this bridge driver is being user by another platform driver, it
might want to call subdev operations like getting format, setting
format, enumerating format codes, etc. Add wrapper functions that pass
that call through to the sensor.
Currently wrappers are added only for the ops used by TI's platform
driver. More can be added later as needed.
Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
drivers/media/platform/cadence/cdns-csi2rx.c | diff | blob | history |