summaryrefslogtreecommitdiff
path: root/drivers/media/platform/exynos4-is/media-dev.c
diff options
context:
space:
mode:
authorJacek Anaszewski <j.anaszewski@samsung.com>2016-01-18 14:10:25 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-01-25 10:28:25 -0200
commit4e63959e3773276cc49b488238bd583c53cf54e8 (patch)
tree1d36c39e0565e935e44024002064cb82bf3964b2 /drivers/media/platform/exynos4-is/media-dev.c
parent76a563675485849f6f9ad5b30df220438b3628c1 (diff)
[media] s5k6a3: Fix VIDIOC_SUBDEV_G_FMT ioctl for TRY format
VIDIOC_SUBDEV_G_FMT ioctl should return TRY format previously set with VIDIOC_SUBDEV_S_FMT. Currently it is not the case as only ACTIVE formats are saved in the driver. Since the driver doesn't alter hardware state in the set_fmt op anyway, the op can save the format in both TRY and ACTIVE case. Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform/exynos4-is/media-dev.c')
0 files changed, 0 insertions, 0 deletions