]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: tegra: reduce channel name field size
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 21 Nov 2018 16:13:22 +0000 (16:13 +0000)
committerVinod Koul <vkoul@kernel.org>
Mon, 7 Jan 2019 04:22:42 +0000 (09:52 +0530)
commited31f6d1149baa6c28da256702fd5ed7b3212dac
tree4039c34dfff0b1d5febadf2582e7311d20a7d11e
parentc84702b7d32f31d5caf82be6b80054237829c2a6
dmaengine: tegra: reduce channel name field size

The name field is used for "apbdma.%d" which is rarely going to be
more than 10 bytes, so reduce the size from 30 to 12. This is only
being used by the interrupt registration, so is not critical to the
operation of the driver either.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/tegra20-apb-dma.c