dmaengine: rcar-dmac: store channel IRQ in struct rcar_dmac_chan
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Mon, 15 May 2017 23:09:15 +0000 (01:09 +0200)
committerVinod Koul <vinod.koul@intel.com>
Fri, 19 May 2017 09:25:23 +0000 (14:55 +0530)
commit427d5ecd270bad5b9ba15a42f0414accdfa4e2f8
tree7b0119da1b4eb9853925202f7216fadc6c307e9c
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6
dmaengine: rcar-dmac: store channel IRQ in struct rcar_dmac_chan

The IRQ number is needed after probe to be able to add synchronisation
points in other places in the driver when freeing resources and to
implement a device_synchronize() callback. Store the IRQ number in the
struct rcar_dmac_chan so that it can be used later.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sh/rcar-dmac.c