From mboxrd@z Thu Jan 1 00:00:00 1970 From: vinod.koul@intel.com (Vinod Koul) Date: Wed, 16 Apr 2014 14:39:24 +0530 Subject: [PATCH RESEND] dma: mmp_pdma: add support for residue reporting In-Reply-To: <534E4172.8030401@zonque.org> References: <1392636546-15541-1-git-send-email-zonque@gmail.com> <20140319151352.GJ1976@intel.com> <534576C3.2020409@zonque.org> <20140416064534.GL32284@intel.com> <534E3F3D.5080003@zonque.org> <20140416082326.GM32284@intel.com> <534E4172.8030401@zonque.org> Message-ID: <20140416090923.GR32284@intel.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Apr 16, 2014 at 10:38:10AM +0200, Daniel Mack wrote: > >> It might add to the readability of the drivers, but for the current > >> case, I don't think it's really necessary. > > That is because you are maintaining the current descriptors in chain_running. If > > we use above method then you dont need to use this, right? > > Jup, but that would result in a rewrite of larger parts of the code. The > concept of hot-linking the two list so there's only one resulting list > of currently active descriptors is built-in deeply into the driver's > concept. Ah I suspected so :) I think for now this is fine you can perhaps upgrade this later :) -- ~Vinod