summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1/flash.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2015-05-07 17:38:10 +0200
committerVinod Koul <vinod.koul@intel.com>2015-05-18 10:59:35 +0530
commit0d0ee751f7f7cd7d44eeb596f3b430ed0b178e07 (patch)
treec41357b2ee6a55490b52cf2b3b81fb8b3f595868 /arch/arm/mach-omap1/flash.c
parentf0816a36887b5b6acb387d8a554c5f5ed4069d33 (diff)
downloadop-kernel-dev-0d0ee751f7f7cd7d44eeb596f3b430ed0b178e07.zip
op-kernel-dev-0d0ee751f7f7cd7d44eeb596f3b430ed0b178e07.tar.gz
dmaengine: xdmac: Rework the chaining logic
So far, we were setting the NDE bit in our descriptors through some logic to try to see if we were the last descriptor in the chain. However, that was turning out to be rather complex to get right, while this information is also available when we actually chain a new descriptor after an already existing one. Simplify this by never setting NDE unless when we actually chain a descriptor. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'arch/arm/mach-omap1/flash.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud