[PATCH v2 2/3] ARM: davinci: Add dma_mask to dm365's eDMA device

Sekhar Nori nsekhar at ti.com
Wed Dec 6 22:03:41 PST 2017


On Tuesday 05 December 2017 06:04 PM, Alejandro Mery wrote:
> as previously done by cef5b0da4019358cb03c9b0a964d4d63cd7deaf6 for other davinci SoCs
> 
> Signed-off-by: Alejandro Mery <amery at hanoverdisplays.com>

Most of the comments on 1/2 apply here. Here is the updated description:

--8<--
ARM: davinci: Add dma_mask to dm365's eDMA device

Add dma_mask to dm365's EDMA device.

Without a valid dma_mask, EDMA on DM365 refuses to
probe.

Fixes: cef5b0da4019 ("ARM: davinci: Add dma_mask to eDMA devices")
Reviewed-by: Peter Ujfalusi <peter.ujfalusi at ti.com>
Signed-off-by: Alejandro Mery <amery at hanoverdisplays.com>
Signed-off-by: Sekhar Nori <nsekhar at ti.com>
--8<--

Thanks,
Sekhar

> ---
>  arch/arm/mach-davinci/dm365.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c
> index 9bd17bc77b5c..103316f01a22 100644
> --- a/arch/arm/mach-davinci/dm365.c
> +++ b/arch/arm/mach-davinci/dm365.c
> @@ -928,6 +928,7 @@ static struct resource edma_resources[] = {
>  static const struct platform_device_info dm365_edma_device __initconst = {
>  	.name		= "edma",
>  	.id		= 0,
> +	.dma_mask	= DMA_BIT_MASK(32),
>  	.res		= edma_resources,
>  	.num_res	= ARRAY_SIZE(edma_resources),
>  	.data		= &dm365_edma_pdata,
> -- 
> 2.15.0
> 




More information about the linux-arm-kernel mailing list