]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: pci: mgb4: Fix timings comparison in VIDIOC_S_DV_TIMINGS
authorMartin Tůma <martin.tuma@digiteqautomotive.com>
Tue, 26 Aug 2025 16:28:29 +0000 (18:28 +0200)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Fri, 29 Aug 2025 09:04:03 +0000 (11:04 +0200)
commit0750649b528ff18d1d68aecb45b34ec22d5ab778
treed0b6ba0f48c8643e065da8ce8dde754d0bf38260
parent039b9302d64ec35f70c91919cd7bcdbc1aef3707
media: pci: mgb4: Fix timings comparison in VIDIOC_S_DV_TIMINGS

Compare the whole v4l2_bt_timings struct, not just the width/height when
setting new timings. Timings with the same resolution and different
pixelclock can now be properly set.

Signed-off-by: Martin Tůma <martin.tuma@digiteqautomotive.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/pci/mgb4/mgb4_vin.c