Re: [Qemu-devel] [PATCH v1 1/1] xilinx_axidma: Do not set DMA .notify to NULL after notify

2013-06-10 Thread Edgar E. Iglesias
On Fri, Jun 07, 2013 at 01:05:38PM +1000, peter.crosthwa...@xilinx.com wrote: > From: Wendy Liang > > If a stream notify function is not ready, it may re-populate the notify call- > back to indicate it should be re-polled later. This break in this usage, as > immediately following the notify() ca

[Qemu-devel] [PATCH v1 1/1] xilinx_axidma: Do not set DMA .notify to NULL after notify

2013-06-06 Thread peter . crosthwaite
From: Wendy Liang If a stream notify function is not ready, it may re-populate the notify call- back to indicate it should be re-polled later. This break in this usage, as immediately following the notify() call, .notify is set to NULL. reverse the ordering of the notify call and NULL assignment