[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1701652.4qUlzcU1j2@wuerfel>
Date: Mon, 12 Jan 2015 19:55:02 +0100
From: Arnd Bergmann <arnd@...db.de>
To: Rameshwar Sahu <rsahu@....com>
Cc: vinod.koul@...el.com, dan.j.williams@...el.com,
dmaengine@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
ddutile@...hat.com, jcm@...hat.com, patches@....com,
Loc Ho <lho@....com>
Subject: Re: [PATCH v2 1/3] dmaengine: Add support for APM X-Gene SoC DMA engine driver
On Monday 12 January 2015 14:40:09 Rameshwar Sahu wrote:
> > +
> > + dma_set_mask_and_coherent(&pdev->dev,
> > + (sizeof(dma_addr_t) == sizeof(u64)) ?
> > + DMA_BIT_MASK(64) : DMA_BIT_MASK(32));
> > +
>
I commented on this on v1 already: always set the device specific mask here,
it's independent of the CPU architecture, but do check the return value.
Also add the correct dma-ranges property in the parent, or else this will
fail in the future once we add proper checks to dma_set_mask.
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists