dmaengine: rcar-dmac: warn if transfer cannot start as TE = 1
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Thu, 30 Jun 2016 15:15:16 +0000 (17:15 +0200)
committerVinod Koul <vinod.koul@intel.com>
Fri, 8 Jul 2016 05:39:10 +0000 (11:09 +0530)
commit0f78e3b58f5f99c991613db4477f893b53da5520
tree654ffc0ec037964270b8f10284bc42804f943fcd
parent3544d2878817bd139dda238cdd86a15e1c03d037
dmaengine: rcar-dmac: warn if transfer cannot start as TE = 1

The documentation states one should make sure both DE and TE are cleared
before starting a transaction. This patch extends the current warning to
look at both DE and TE.

Based on previous work from Muhammad Hamza Farooq.

Suggested-by: Muhammad Hamza Farooq <mfarooq@visteon.com>
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