forked from mirrors/linux
		
	spi: dw-mid: switch to new dmaengine_terminate_* API
Convert dmaengine_terminate_all() calls to synchronous versions. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
		
							parent
							
								
									92e963f50f
								
							
						
					
					
						commit
						a3ff958236
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -89,10 +89,10 @@ static void mid_spi_dma_exit(struct dw_spi *dws) | |||
| 	if (!dws->dma_inited) | ||||
| 		return; | ||||
| 
 | ||||
| 	dmaengine_terminate_all(dws->txchan); | ||||
| 	dmaengine_terminate_sync(dws->txchan); | ||||
| 	dma_release_channel(dws->txchan); | ||||
| 
 | ||||
| 	dmaengine_terminate_all(dws->rxchan); | ||||
| 	dmaengine_terminate_sync(dws->rxchan); | ||||
| 	dma_release_channel(dws->rxchan); | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Andy Shevchenko
						Andy Shevchenko