dmaengine: ioat: fixing chunk sizing macros dependency
authorLeonid Ravich <Leonid.Ravich@emc.com>
Thu, 16 Apr 2020 17:06:21 +0000 (20:06 +0300)
committerVinod Koul <vkoul@kernel.org>
Fri, 17 Apr 2020 11:58:39 +0000 (17:28 +0530)
commitbd2bf302eef21aafa6da2cf829b87a9e33150658
tree1887924dc5c14c2c3e5eec3d3f8289474e184c99
parent2fea2906b5cbeffe49911e4735451af62fc121b4
dmaengine: ioat: fixing chunk sizing macros dependency

changing macros which assumption is chunk size of 2M,
which can be other size
prepare for changing allocation chunk size.

Acked-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Leonid Ravich <Leonid.Ravich@emc.com>
Link: https://lore.kernel.org/r/20200416170628.16196-1-leonid.ravich@dell.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/ioat/dma.c
drivers/dma/ioat/dma.h
drivers/dma/ioat/init.c