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 <>
Signed-off-by: Niklas Söderlund <>
Acked-by: Laurent Pinchart <>
Signed-off-by: Vinod Koul <>
(cherry picked from commit 0f78e3b58f5f99c991613db4477f893b53da5520)
Signed-off-by: Fabrizio Castro <>
Reviewed-by: Biju Das <>
Signed-off-by: Ben Hutchings <>
1 file changed