[PATCH 4.4 07/68] dmaengine: at_xdmac: double FIFO flush needed to compute residue

2016-08-08 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ludovic Desroches commit 9295c41d77ca93aac79cfca6fa09fa1ca5cab66f upstream. Due to the way CUBC register is updated, a double flush is needed to compute an

[PATCH 4.4 07/68] dmaengine: at_xdmac: double FIFO flush needed to compute residue

2016-08-08 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ludovic Desroches commit 9295c41d77ca93aac79cfca6fa09fa1ca5cab66f upstream. Due to the way CUBC register is updated, a double flush is needed to compute an accurate residue. First flush aim is