Re: IrDA driver fails on PXA255

From: Russell King - ARM Linux
Date: Sun May 29 2011 - 03:25:45 EST


On Sat, May 28, 2011 at 07:22:44PM -0700, David Rientjes wrote:
> arm, pxa2xx: enable DMA support for pxa2xx IRDA interface
>
> The pxa2xx-ir driver allocates with GFP_DMA, so it must always have
> ZONE_DMA.

Wrong way. If there's no restrictions, drivers shouldn't be using
GFP_DMA. For the majority of SoCs, that's the case.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/