dmaengine: rcar-dmac: Fixed active descriptor initializing
authorMuhammad Hamza Farooq <mfarooq@visteon.com>
Thu, 30 Jun 2016 15:15:17 +0000 (17:15 +0200)
committerVinod Koul <vinod.koul@intel.com>
Fri, 8 Jul 2016 05:39:10 +0000 (11:09 +0530)
commit48c73659abae103a2f8531f825ce7a3f8dedbb39
tree27c53468310ddaf8388efc36c7cb767225385fa2
parent0f78e3b58f5f99c991613db4477f893b53da5520
dmaengine: rcar-dmac: Fixed active descriptor initializing

Running descriptor pointer is set to NULL upon freeing resources. Other-
wise, rcar_dmac_issue_pending might not start new transfers

Signed-off-by: Muhammad Hamza Farooq <mfarooq@visteon.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sh/rcar-dmac.c