Re: [PATCH] ttusb-budget: make it depend on PCI

From: Arnd Bergmann
Date: Wed Nov 12 2008 - 08:53:27 EST


On Wednesday 12 November 2008, Andi Kleen wrote:
> Unless it really needs to use the 16MB DMA zone (which I doubt
> especially for USB devices) then it should not call either with a NULL
> device argument.

Yes, of course. It will need to pass &ttusb->dev.dev to dma_alloc_coherent.

Arnd <><

---

Note to self: read code before commenting on it...
--
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/