Skip to content

Commit 65c383c

Browse files
bjdooks-ctvinodkoul
authored andcommitted
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>
1 parent 547b311 commit 65c383c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/dma/tegra20-apb-dma.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ typedef void (*dma_isr_handler)(struct tegra_dma_channel *tdc,
186186
/* tegra_dma_channel: Channel specific information */
187187
struct tegra_dma_channel {
188188
struct dma_chan dma_chan;
189-
char name[30];
189+
char name[12];
190190
bool config_init;
191191
int id;
192192
int irq;

0 commit comments

Comments
 (0)