From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by ozlabs.org (Postfix) with ESMTP id 8D55514133B for ; Sat, 3 May 2014 03:20:27 +1000 (EST) Date: Fri, 2 May 2014 22:37:33 +0530 From: Vinod Koul To: Alexander Popov Subject: Re: [PATCH RFC v12 4/7] dma: mpc512x: fix freeing resources in mpc_dma_probe() and mpc_dma_remove() Message-ID: <20140502170733.GN32284@intel.com> References: <1398261209-5578-1-git-send-email-a13xp0p0v88@gmail.com> <1398261209-5578-5-git-send-email-a13xp0p0v88@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1398261209-5578-5-git-send-email-a13xp0p0v88@gmail.com> Cc: Lars-Peter Clausen , Arnd Bergmann , Gerhard Sittig , Andy Shevchenko , dmaengine@vger.kernel.org, Dan Williams , Anatolij Gustschin , linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Apr 23, 2014 at 05:53:26PM +0400, Alexander Popov wrote: > Fix mpc_dma_probe() error path and mpc_dma_remove(): manually free IRQs and > dispose IRQ mappings before devm_* takes care of other resources. > Moreover replace devm_request_irq() with request_irq() since there is no need > to use it because the original code always frees IRQ manually with > devm_free_irq(). Replace devm_free_irq() with free_irq() accordingly. Applied, thanks -- ~Vinod