diff options
author | Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> | 2022-10-09 19:35:50 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-11-25 11:00:03 +0000 |
commit | 3ad69c610ba8a3f7cf76bc856ca62c92d2bd955f (patch) | |
tree | f29e50b798ee2667840a5cef54b7acb6a771c5ea /drivers/media/v4l2-core/v4l2-ioctl.c | |
parent | f42a323252afc930eea0c9fd839037f952baf691 (diff) |
media: rcar-vin: Store scaler in a function pointer
The scaler implementation is different between the VIN generations, and
not all SoCs have a scaler. Currently only Gen2 scalers are supported.
Prepare to add support for more scalers by storing the setup in a
function pointer initialized at probe time. While at it move call site
to after, instead of before, the generic capture setup, this have no
effect on the Gen2 scaler but will be leveraged by the Gen3 scaler.
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-ioctl.c')
0 files changed, 0 insertions, 0 deletions