Re: dmaengine.c: question about device_alloc_chan_resources

From: Timur Tabi
Date: Thu Sep 18 2008 - 10:32:00 EST


Haavard Skinnemoen wrote:

> Wouldn't it be better if the dmaengine layer made sure it didn't pass
> the same channel several times to a client?

Wouldn't that require it to keep track of which clients have already seen which
channels? It might make more sense, but it's probably easier the current way.

--
Timur Tabi
Linux kernel developer at Freescale
--
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/