Re: [PATCH V3 3/7] dmaengine/dw_dmac: don't call callback routinein case dmaengine_terminate_all() is called

From: viresh kumar
Date: Thu Apr 28 2011 - 23:26:38 EST


On 04/28/2011 10:41 PM, Russell King - ARM Linux wrote:
>> > static void
>> > -dwc_descriptor_complete(struct dw_dma_chan *dwc, struct dw_desc *desc)
>> > +dwc_descriptor_complete(struct dw_dma_chan *dwc, struct dw_desc *desc,
>> > + bool callback_required)
> If you're using 'bool' then using 'true' and 'false' with it rather than
> '1' and '0' is a good idea.

Yes, will correct this.

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