]> git.baikalelectronics.ru Git - kernel.git/commit
media: camss: __video_try_fmt(): don't use hardcoded constants
authorAndrey Konovalov <andrey.konovalov@linaro.org>
Fri, 14 Aug 2020 20:54:03 +0000 (22:54 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 29 Aug 2020 06:18:30 +0000 (08:18 +0200)
commit56bfe187c9ba1860ab233b4b11ad710b0ff48d23
treea36d87e5353c8e4dd0e3de4496961eaf38aed204
parent4136ceb93cd80c3aee38369cd8a8d1a04b0c0502
media: camss: __video_try_fmt(): don't use hardcoded constants

Use the definitions introduced by commit "media: camss: add support
for vidioc_enum_framesizes ioctl" instead of the hardcoded values.

Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/qcom/camss/camss-video.c