MLK-16977-1 media: v4l_cap: implement S_FMT ioctl
authorRobby Cai <robby.cai@nxp.com>
Fri, 24 Nov 2017 10:39:13 +0000 (18:39 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit26c1946927f2941d641d9339289a80df31344f4d
tree2bd11d59c51c32c8c861a18800fd60f107a6d270
parentebc4af09cc123d6bdb04f7f810ffb73687d1c978
MLK-16977-1 media: v4l_cap: implement S_FMT ioctl

gsteamer uses S_FMT ioctl to set the resolution instead of using
S_PARM ioctl. The S_PARM ioctl depends on the capture mode which is
not in the common way.
This patch uses a common method to set the picture resulotion.

Signed-off-by: Robby Cai <robby.cai@nxp.com>
drivers/media/platform/imx8/mxc-mipi-csi2_yav.c