From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Subject: Re: [PATCH 08/10 V2] spi: Add DMA support into SPI driver Date: Wed, 1 Aug 2012 08:29:19 +0200 Message-ID: <201208010829.19404.marex@denx.de> References: <1341555449-17507-1-git-send-email-marex@denx.de> <1341555449-17507-8-git-send-email-marex@denx.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Fabio Estevam , Chris Ball , Wolfgang Denk , Detlev Zundel , Rob Herring , spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Shawn Guo , Dong Aisheng , Stefano Babic To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org Return-path: In-Reply-To: <1341555449-17507-8-git-send-email-marex-ynQEQJNshbs@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-spi.vger.kernel.org Dear Marek Vasut, [...] > -out_host_free: > +out_free_dma: > + dma_release_channel(ssp->dmach); > clk_disable_unprepare(ssp->clk); > +out_host_free: > spi_master_put(host); > kfree(host); > + Please remove this newline. > return ret; > } Missing dma_release_channel() in .remove! Best regards, Marek Vasut ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/