On Fri, 19 Feb 2010, Govindraj wrote: > > + chan = dma_request_channel(mask, filter, param); > > + dev_dbg(port->dev, "%s: RX: got channel %p\n", __func__, chan); > > > If dma channel allocation fails how this scenario will be handled, > There is an possibility of dma_request_channel returning -EBUSY, Really? How? I thought it could only return a pointer to a channel or a NULL? And if it fails, i.e., chan == NULL, the whole code just stays inactive and the driver falls back to normal PIO. Thanks Guennadi --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html