summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorNicolas Ferre <nicolas.ferre@atmel.com>2012-04-16 14:46:30 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-07 08:53:20 -0700
commitf2a395ea7f39652cbadb4a519c7d5cdaf2f5866e (patch)
treef602d368c2a529b461caff576b065bda418e318d /kernel
parent126b6268f61da4dc12c95022ebc57c5f2d34fcee (diff)
downloadlwn-f2a395ea7f39652cbadb4a519c7d5cdaf2f5866e.tar.gz
lwn-f2a395ea7f39652cbadb4a519c7d5cdaf2f5866e.zip
dmaengine: at_hdmac: remove clear-on-read in atc_dostart()
commit ed8b0d67f33518a16c6b2450fe5ebebf180c2d04 upstream. This loop on EBCISR register was designed to clear IRQ sources before enabling a DMA channel. This register is clear-on-read so a race condition can appear if another channel is already active and has just finished its transfer. Removing this read on EBCISR is fixing the issue as there is no case where an IRQ could be pending: we already make sure that this register is drained at probe() time and during resume. Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions