mirror of https://gitee.com/openkylin/linux.git
250854eed5
When the OSD is on (i.e. vivid displays text on top of the test pattern), and
you enable hflip, then the driver crashes.
The cause turned out to be a division of a negative number by an unsigned value.
You expect that -8 / 2U would be -4, but in reality it is 2147483644 :-(
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
v4l2-tpg-colors.c | ||
v4l2-tpg-core.c |