summaryrefslogtreecommitdiff
path: root/scripts/basic/Makefile
diff options
context:
space:
mode:
authorKunihiko Hayashi <[email protected]>2022-07-13 10:38:59 +0900
committerMichal Simek <[email protected]>2022-07-26 08:23:55 +0200
commitc6bceb4e360d704fb9746541c18a1a08f49353fc (patch)
tree0ae75743c33c6898f5b727a5f028289e8396139d /scripts/basic/Makefile
parent65fc1697dbfbf61680e6a9cdad0a2d7dd2f9bed9 (diff)
serial: zynq: Use DIV_ROUND_CLOSEST() to calcurate divider value
Since the calulation of "bgen" is rounded down, using a higher baudrate will result in a larger difference from the actual baudrate. Should use DIV_ROUND_CLOSEST() like the Linux driver. Signed-off-by: Kunihiko Hayashi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'scripts/basic/Makefile')
0 files changed, 0 insertions, 0 deletions