]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: dmatest: Use fixed point div to calculate iops
authorSeraj Alijan <seraj.alijan@sondrel.com>
Mon, 10 Dec 2018 08:52:34 +0000 (08:52 +0000)
committerVinod Koul <vkoul@kernel.org>
Mon, 17 Dec 2018 06:15:11 +0000 (11:45 +0530)
commit176f2f842f4c55bca92fe16a415deb9df8d25f26
tree04d0846480f08033e255d1c4ddd1699d7e3ed883
parente61b5e40169f21cc48f2b55af0cf8936a7da7161
dmaengine: dmatest: Use fixed point div to calculate iops

Use fixed point division to calculate iops to prevent reporting 0 iops
when operations last for longer than a second.

Signed-off-by: Seraj Alijan <seraj.alijan@sondrel.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dmatest.c