diff options
author | Alvaro Fernando García <alvarofernandogarcia@gmail.com> | 2023-08-03 21:35:38 -0300 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2023-08-12 10:18:12 +0800 |
commit | 8300cebcd60476443d8a630b56f715eae5af911b (patch) | |
tree | 95406561257f941757afce05b0632905e9b9af4b /drivers/i2c/i2c-cdns.c | |
parent | bb38db086c6c7eade690d83aa0d96af8c993b991 (diff) |
video: avoid build failure on veyron board
533ad9dc avoided an overflow but causes compilation
failure on 32bit boards (eg. veyron speedy)
this commit uses div_u64 which has a fallback codepath
for 32bit platforms
Signed-off-by: Alvaro Fernando García <alvarofernandogarcia@gmail.com>
Tested-by: Simon Glass <sjg@chromium.org> # chromebook_jerry
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'drivers/i2c/i2c-cdns.c')
0 files changed, 0 insertions, 0 deletions