dmaengine: tegra: make byte counters unsigned int
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 21 Nov 2018 16:13:20 +0000 (16:13 +0000)
committerVinod Koul <vkoul@kernel.org>
Mon, 7 Jan 2019 04:22:41 +0000 (09:52 +0530)
commit216a1d7da0660dd7d5f79c48e117de8d8d2da468
tree1eae26fd0d4431d535461e35512e077ca5d3cb5c
parente486df39305864604b7e25f2a95d51039517ac57
dmaengine: tegra: make byte counters unsigned int

The buffer byte request length and counter are declared as signed integers
but the values should never be below zero, so make these unsigned integers
instead.

Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/tegra20-apb-dma.c