aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorAxel Lin <[email protected]>2013-08-29 23:41:20 +0800
committerMark Brown <[email protected]>2013-08-31 14:10:41 +0100
commitf073d37de0468d517b1fb682b5bea5bfa9ce55c9 (patch)
treeb92e9fc29c88e73bf3fc6ac2f9c8ffb21539c830 /tools/perf/scripts/python/sched-migration.py
parentb3136f8f7c49bb4ca71247046f688fdffa104310 (diff)
spi: altera: Use DIV_ROUND_UP to calculate hw->bytes_per_word
The Altera SPI hardware can be configured to support data width from 1 to 32 since Quartus II 8.1. To avoid truncation by integer division, use DIV_ROUND_UP to calculate hw->bytes_per_word. Signed-off-by: Axel Lin <[email protected]> Acked-by: Thomas Chou <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions