linux/drivers/media/platform/am437x
Hans Verkuil 6a8c521c52 media: am437x: fix smatch warning
Fixes this warning:

drivers/media/platform/am437x/am437x-vpfe.c:288 vpfe_ccdc_validate_param() warn: unsigned 'ccdcparam->alaw.gamma_wd' is never less than zero.

by dropping the gamma_wd < VPFE_CCDC_GAMMA_BITS_15_6 check
since VPFE_CCDC_GAMMA_BITS_15_6 is 0.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reviewed-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2019-11-05 10:33:36 -03:00
..
am437x-vpfe_regs.h media: am437x-vpfe: Switch to SPDX Licensing 2019-10-01 16:15:38 -03:00
am437x-vpfe.c media: am437x: fix smatch warning 2019-11-05 10:33:36 -03:00
am437x-vpfe.h media: am437x-vpfe: Switch to SPDX Licensing 2019-10-01 16:15:38 -03:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00