]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
media: vivid: Use v4l2_find_nearest_size
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 8 Feb 2018 12:00:02 +0000 (07:00 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 21 Mar 2018 15:20:56 +0000 (11:20 -0400)
commitac53212880a1af2191fd469dab275b94cd9d13c8
treee18d37ea52ddec29a16cf2ec04574b494ed01261
parent894de53b4938f6e4eb5dd0435c60cc87b5747855
media: vivid: Use v4l2_find_nearest_size

Use v4l2_find_nearest_size instead of a driver specific function to find
nearest matching size.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/vivid/vivid-vid-cap.c