]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/rpmsg.git/commit
media: cadence: csi2rx: Add wrappers for subdev calls
authorPratyush Yadav <p.yadav@ti.com>
Thu, 18 Feb 2021 12:09:35 +0000 (17:39 +0530)
committerVignesh Raghavendra <vigneshr@ti.com>
Thu, 18 Feb 2021 12:36:26 +0000 (18:06 +0530)
commit3094481d9b1110924a2303e5496449c12d1d95cb
tree9b6ea7317df24796ee6683fc87031459ee0d8bb0
parent93b3daa4a1bb799d1522b7cae81d43727a3e86eb
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>
drivers/media/platform/cadence/cdns-csi2rx.c