]> git.baikalelectronics.ru Git - kernel.git/commit
media: v4l2-dv-timings: add sanity checks for blanking values
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 13 Oct 2022 08:00:34 +0000 (09:00 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Tue, 25 Oct 2022 15:39:47 +0000 (16:39 +0100)
commitdf0d3d3669a2f0a54b7fa449905044adf9fbef3c
tree16b9948ed011ee52d18342f2503ce78bc189eb2f
parent4664737034fbaf5a5e21f3fe13f1f099f4a0bcc5
media: v4l2-dv-timings: add sanity checks for blanking values

Add sanity checks to v4l2_valid_dv_timings() to ensure that the provided
blanking values are reasonable.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Fixes: d2d02f78434d ([media] v4l2-dv-timings: add new helper module)
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/v4l2-core/v4l2-dv-timings.c