summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPeng Fan <[email protected]>2016-04-28 10:07:53 +0800
committerStefano Babic <[email protected]>2016-04-28 16:28:45 +0200
commitc510f2e436008e55a50b063f2180cb1e63984224 (patch)
treec33900792f85273a7cadd24769b6d4dea7c8ff4b /include/linux
parente25b369c048b51b1feb79587750e7e160fc0bd73 (diff)
video: ipu_common: fix build error
Some toolchains fail to build "clk->rate = (u64)(clk->parent->rate * 16) / div;" And the cast usage is wrong. Use the following code to fix the issue, " do_div(parent_rate, div); clk->rate = parent_rate; " Reported-by: Peter Robinson <[email protected]> Signed-off-by: Peng Fan <[email protected]> Cc: Stefano Babic <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Tom Rini <[email protected]> Cc: Anatolij Gustschin <[email protected]> Cc: Peter Robinson <[email protected]> Reviewed-by: Tom Rini <[email protected]> Tested-by: Peter Robinson <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions