From: Fabio Estevam Date: Wed, 10 Jul 2013 03:16:27 +0000 (-0300) Subject: spi: spi-mxs: Fix the error path sequence X-Git-Tag: v3.12-rc1~192^2~19^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e11933f626c0a1333ec118d35a0c6c90d576b707;p=pandora-kernel.git spi: spi-mxs: Fix the error path sequence On mxs_spi_probe() the dma channels are requested prior to enabling the SSP clock, so in the error path we should disable the SSP clock first and release the DMA channels later. Same logic applies in mxs_spi_remove(). Signed-off-by: Fabio Estevam Acked-by: Marek Vasut Signed-off-by: Mark Brown --- Reading git-diff-tree failed