summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeng Fan <[email protected]>2016-03-09 16:07:21 +0800
committerAnatolij Gustschin <[email protected]>2016-03-14 22:47:41 +0100
commit3cb4f25cc702db17455583599d0940c81337a17a (patch)
treec8ae22e1b2687a89fd290b4a5da5db4408ecc03f /include
parentc87c30e3ba9ab110c031c14d1f349118d32041c1 (diff)
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 <[email protected]> Signed-off-by: Sandor Yu <[email protected]> Cc: Anatolij Gustschin <[email protected]> Cc: Stefano Babic <[email protected]> Cc: Fabio Estevam <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions