dmaengine: tegra-apb: Save and restore word count
authorJon Hunter <jonathanh@nvidia.com>
Fri, 13 Nov 2015 16:39:40 +0000 (16:39 +0000)
committerVinod Koul <vinod.koul@intel.com>
Sat, 5 Dec 2015 10:43:08 +0000 (16:13 +0530)
commit68ae7a93fb0e6432baaa7c323a650b1b5461643f
tree3e5f8378cc6b9a69d554bd51d97e3ab30313d527
parent286a6441a333abfa21a700683db5b3302f75a4de
dmaengine: tegra-apb: Save and restore word count

Newer tegra devices have a separate word count register per channel that
contains the number of words to be transferred. This register is not
saved or restored by the suspend/resume helpers for these newer devices
and so ensure that it is.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/tegra20-apb-dma.c