mirror of https://gitee.com/openkylin/linux.git
4f1bdf0a75
If set_fmt callback is called with format->width or format->height set to zero and HACTIVE_CNT or VACTIVE_CNT bits (respectively) in chip are zero we will divide by zero later in this callback when we try to calculate HSC or VSC values. Fix this by explicitly rejecting these values. Signed-off-by: Maciej S. Szmigiero <mail@maciej.szmigiero.name> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
cx25840-audio.c | ||
cx25840-core.c | ||
cx25840-core.h | ||
cx25840-firmware.c | ||
cx25840-ir.c | ||
cx25840-vbi.c |