summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/usb.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2012-10-18 11:12:31 +0200
committerLinus Walleij <linus.walleij@linaro.org>2012-11-05 09:55:32 +0100
commit2136683172f49a32b3ed7469f6e5ce20c8f4278b (patch)
tree3bfa057454f38388acfedb9e2144e8e5f07da3f6 /arch/arm/mach-ux500/usb.c
parent0813069d03f312b48b836f20e7f12073288f0f82 (diff)
downloadblackbird-op-linux-2136683172f49a32b3ed7469f6e5ce20c8f4278b.tar.gz
blackbird-op-linux-2136683172f49a32b3ed7469f6e5ce20c8f4278b.zip
ARM: plat-nomadik: use DIV_ROUND_CLOSEST()
Use DIV_ROUND_CLOSEST() to calculate the cycle counter for the periodic mode instead of relying on homebrew reimplementation. Cc: Alessandro Rubini <rubini@unipv.it> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500/usb.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud