From: Davide Ciminaghi Date: Thu, 19 Apr 2012 10:20:24 +0000 (+0200) Subject: dmaengine/amba-pl08x : reset phychan_hold on terminate all X-Git-Tag: v3.4-rc5~24^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88c08a3fba9954ce0ec3e1eab07c498a419ad7e3;p=pandora-kernel.git dmaengine/amba-pl08x : reset phychan_hold on terminate all When a client calls pl08x_control with DMA_TERMINATE_ALL, it is correct to terminate and release the phy channel currently in use (if one is in use), but the phychan_hold counter must also be reset (otherwise it could get trapped in an unbalanced state). Signed-off-by: Davide Ciminaghi Reviewed-by: Viresh Kumar Acked-by: Linus Walleij Signed-off-by: Vinod Koul --- Reading git-diff-tree failed