Re: dmaengine.c: question about device_alloc_chan_resources

From: Timur Tabi
Date: Thu Sep 18 2008 - 10:49:43 EST


Haavard Skinnemoen wrote:

> I guess so. What would be even more simple is to simply prevent other
> clients from taking a channel once someone has acked it, which would be
> perfect for my purposes, but perhaps not everyone else's...

I'm not clear on how your driver works, but doesn't it run continuous tests on
all channels all the time? If so, wouldn't your proposal prevent other drivers
from ever getting a DMA channel?

--
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/