rcar-hpbdma: fixup channel busy check for double plane
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 29 Oct 2013 06:52:34 +0000 (23:52 -0700)
committerVinod Koul <vinod.koul@intel.com>
Thu, 28 Nov 2013 08:16:00 +0000 (13:46 +0530)
commitb3000cd835a6116c0a7d0f8e3df5be26c2138d86
tree8e659ec9aa45b5f0d0f980ef6793d3524f218d3e
parentf1eab074df85a05dabfd368b6f64e7de63070301
rcar-hpbdma: fixup channel busy check for double plane

The device busy check method is different between
single and double planes.
It will always return "busy" without this patch
if channel used as double plane.

Reviewed-by: Max Filippov <max.filippov@cogentembedded.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sh/rcar-hpbdma.c