On 27 September 2012 10:35, Jassi Brar <jassisinghbrar@xxxxxxxxx> wrote: > On Thu, Sep 27, 2012 at 9:43 AM, Inderpal Singh > <inderpal.singh@xxxxxxxxxx> wrote: >> >> Don't you think free_chan_resource should be done __only if__ >> alloc_chan_resource was successful ? >> > No, I don't think so. Thanks. Thanks for quick response. Please elaborate more on this as I find it against the general rule and against the dmaengine implementation which checks on the same condition before proceeding for free_chan_resouces in dma_chan_put function. Thanks, Inder -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html