dmaengine: omap-dma: cleanup errata 3.3 handling
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 6 Nov 2013 19:26:45 +0000 (19:26 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 3 Apr 2014 23:30:28 +0000 (00:30 +0100)
commitb07fd625ac9df7412bd996edbdc298eb343dd501
tree5330c6978b5d8b17f3dcc45b2e2b840874d6d213
parentc5ed98b6ae79545284b7855a07ded32934865a6d
dmaengine: omap-dma: cleanup errata 3.3 handling

Provide a function to read the CSAC/CDAC register, working around the
OMAP 3.2/3.3 erratum (which requires two reads of the register if the
first returned zero.

Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/dma/omap-dma.c