]> git.baikalelectronics.ru Git - kernel.git/commit
[media] exynos-gsc: Avoid spamming the log on VIDIOC_TRY_FMT
authorJavier Martinez Canillas <javier@osg.samsung.com>
Tue, 24 Jan 2017 21:42:26 +0000 (19:42 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 3 Feb 2017 16:26:35 +0000 (14:26 -0200)
commite2eb1e177e3aef96b25ed546cd854c90eefc1cd3
treec780ea0ad9fa43a87f0a4c6d3317b88239d29ca4
parent7e3840f238d5b631fa9ff249008dabb0f9f46b94
[media] exynos-gsc: Avoid spamming the log on VIDIOC_TRY_FMT

There isn't an ioctl to enum the supported field orders, so a user-space
application can call VIDIOC_TRY_FMT using different field orders to know
if one is supported. For example, GStreamer does this so during playback
dozens of the following messages appear in the kernel log buffer:

[ 442.143393] Not supported field order(4)

Instead of printing this as an error, just keep it as debug information.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/exynos-gsc/gsc-core.c