drivers: bcm2835_isp: Fix div by 0 bug.
authorNaushir Patuck <naush@raspberrypi.com>
Thu, 25 Nov 2021 08:59:58 +0000 (08:59 +0000)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Thu, 25 Nov 2021 09:54:57 +0000 (09:54 +0000)
commit19359ba5442ffba6db180eaaeda7472e7377e368
tree52293ff1e39b9a81bb47865ac7dfa100076f560a
parent858f43fa9a7bc4bc1199f2b0a91c4cd73bf824ba
drivers: bcm2835_isp: Fix div by 0 bug.

Fix a possible division by 0 bug when setting up the mmal port for the stats
port.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
drivers/staging/vc04_services/bcm2835-isp/bcm2835-isp-fmts.h