kernel/eka/drivers/dma/dmapil.cpp
changeset 130 c30940f6d922
parent 126 2b2a51c87b12
child 231 75252ea6123b
equal deleted inserted replaced
129:a990138eda40 130:c30940f6d922
   798 		--count;
   798 		--count;
   799 
   799 
   800 		// If an error occurred it must have been reported on the last interrupt since transfers are
   800 		// If an error occurred it must have been reported on the last interrupt since transfers are
   801 		// suspended after an error.
   801 		// suspended after an error.
   802 		DDmaRequest::TResult res = (count==0 && error) ? DDmaRequest::EError : DDmaRequest::EOk;
   802 		DDmaRequest::TResult res = (count==0 && error) ? DDmaRequest::EError : DDmaRequest::EOk;
   803 		__DMA_ASSERTD(!iReqQ.IsEmpty());
   803 		__DMA_ASSERTA(!iReqQ.IsEmpty());
   804 		DDmaRequest* pCompletedReq = NULL;
   804 		DDmaRequest* pCompletedReq = NULL;
   805 		DDmaRequest* pCurReq = _LOFF(iReqQ.First(), DDmaRequest, iLink);
   805 		DDmaRequest* pCurReq = _LOFF(iReqQ.First(), DDmaRequest, iLink);
   806 		DDmaRequest::TCallback cb = 0;
   806 		DDmaRequest::TCallback cb = 0;
   807 		TAny* arg = 0;
   807 		TAny* arg = 0;
   808 
   808