OSDN Git Service

[media] vivid: allow s_dv_timings if it is the same as the current
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 14 Mar 2015 12:35:23 +0000 (09:35 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 3 Apr 2015 00:09:35 +0000 (21:09 -0300)
commit1bd0835a27a8651c0a2a06415a64fdab161cbeba
tree253cf108c3dc80fb21970768a97192157e4a953a
parent02aa769d9fa12d51213e7b1db34bb9b200a967a3
[media] vivid: allow s_dv_timings if it is the same as the current

Allow setting the same timings as the current timings (i.e., do nothing in that
case). The code was actually there, but the vb2_is_busy() call was done before
the timings check instead of afterwards.

Found by v4l2-compliance.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vivid/vivid-vid-cap.c
drivers/media/platform/vivid/vivid-vid-out.c