dmaengine: tegra: add slave capabilities reporting
authorPaul Walmsley <paul@pwsan.com>
Tue, 6 Jan 2015 06:44:56 +0000 (06:44 +0000)
committerVinod Koul <vinod.koul@intel.com>
Tue, 13 Jan 2015 18:30:30 +0000 (00:00 +0530)
commit891653ab836d5a8ef9eba0d347318364bd309a00
treef2e29752b621287dea6460dd6c8a0b8c263038b2
parent0fdd244fe820c03b59ab1286db3d0b4a42c66e13
dmaengine: tegra: add slave capabilities reporting

After commit ecc19d17868be9c9f8f00ed928791533c420f3e0 ("dmaengine: Add
a warning for drivers not using the generic slave caps retrieval"),
the Tegra APB DMA driver causes this warning during boot:

WARNING: CPU: 0 PID: 1 at drivers/dma/dmaengine.c:830 dma_async_device_register+0x294/0x538()
this driver doesn't support generic slave capabilities reporting

Fix by setting the appropriate reporting structure fields that are
passed to dma_async_device_register().

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/tegra20-apb-dma.c