commit | e11933f626c0a1333ec118d35a0c6c90d576b707 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Wed Jul 10 00:16:27 2013 -0300 |
committer | Mark Brown <broonie@linaro.org> | Mon Jul 15 11:38:41 2013 +0100 |
tree | 33114830c13095eb958f62ab58fa6acced3eff75 | |
parent | ad81f0545ef01ea651886dddac4bef6cec930092 [diff] |
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 <fabio.estevam@freescale.com> Acked-by: Marek Vasut <marex@denx.de> Signed-off-by: Mark Brown <broonie@linaro.org>