diff options
author | Peng Fan <van.freenix@gmail.com> | 2016-03-09 08:07:21 (GMT) |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2016-03-14 21:47:41 (GMT) |
commit | 3cb4f25cc702db17455583599d0940c81337a17a (patch) | |
tree | c8ae22e1b2687a89fd290b4a5da5db4408ecc03f /cmd/fitupd.c | |
parent | c87c30e3ba9ab110c031c14d1f349118d32041c1 (diff) | |
download | u-boot-3cb4f25cc702db17455583599d0940c81337a17a.tar.xz |
video: ipu: avoid overflow issue
Multiplication, as "clk->parent->rate * 16" may overflow. So use
do_div to avoid such issue.
Signed-off-by: Peng Fan <van.freenix@gmail.com>
Signed-off-by: Sandor Yu <sandor.yu@nxp.com>
Cc: Anatolij Gustschin <agust@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Diffstat (limited to 'cmd/fitupd.c')
0 files changed, 0 insertions, 0 deletions