OSDN Git Service

media: staging: rkisp1: rsz: get the capture format info from the capture struct
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>
Sun, 12 Apr 2020 12:05:01 +0000 (14:05 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 5 May 2020 15:05:37 +0000 (17:05 +0200)
commite9ebce2d4c8b59c30ddc453770899aff9d3c58d0
tree1a693164d74f34cb9103fd2c4a3370c1c7eddb8d
parent839efdb65ffd8f2b1055e60d26d703f832a38c54
media: staging: rkisp1: rsz: get the capture format info from the capture struct

Currently the format info of the capture is retrieved by calling
the function v4l2_format_info. This is not needed since it is
already saved in the capture object.

Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/rkisp1/rkisp1-resizer.c