Re: [PATCH] dmaengine: tegra: add slave capabilities reporting

From: Thierry Reding
Date: Tue Jan 06 2015 - 07:56:29 EST


On Tue, Jan 06, 2015 at 06:44:56AM +0000, Paul Walmsley wrote:
>
> 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@xxxxxxxxx>
> Cc: Paul Walmsley <pwalmsley@xxxxxxxxxx>
> Cc: Laxman Dewangan <ldewangan@xxxxxxxxxx>
> Cc: Vinod Koul <vinod.koul@xxxxxxxxx>
> Cc: Dan Williams <dan.j.williams@xxxxxxxxx>
> Cc: Stephen Warren <swarren@xxxxxxxxxxxxx>
> Cc: Thierry Reding <thierry.reding@xxxxxxxxx>
> Cc: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx>
> Cc: Alexandre Courbot <gnurou@xxxxxxxxx>
> ---
> Applies on next-20150105. Boot-tested on Tegra132 Norrin FFD
> (with a few unrelated patches not yet in mainline to get the board to
> boot)

Tested also on the Jetson TK1 and it fixes the same warning there:

Tested-by: Thierry Reding <treding@xxxxxxxxxx>
Acked-by: Thierry Reding <treding@xxxxxxxxxx>

Attachment: pgpNDimtbiAD1.pgp
Description: PGP signature