]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: PL08x: Add support for different offset of CONFIG register
authorTomasz Figa <tomasz.figa@gmail.com>
Sun, 11 Aug 2013 17:59:14 +0000 (19:59 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 2 Sep 2013 06:19:56 +0000 (11:49 +0530)
commit3d1ca9dc20e7f9100c3c020a00884bc4a9130e42
tree321c4a49dc7d13ea0f49c821250593688fe95333
parentd960bb1b5f4682459cf4b3ff8f77c19855ce5e47
dmaengine: PL08x: Add support for different offset of CONFIG register

Some variants of PL08x (namely PL080S, found in Samsung S3C64xx SoCs)
have CONFIG register at different offset. This patch makes the driver
use offset from vendor data struct.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/amba-pl08x.c