Messages in this thread | | | Date | Tue, 24 Apr 2012 15:08:42 +0200 | Subject | Re: [PATCH] dmaengine/amba-pl08x : reset phychan_hold on terminate all | From | Linus Walleij <> |
| |
On Thu, Apr 19, 2012 at 12:20 PM, <ciminaghi@gnudd.com> wrote:
> From: Davide Ciminaghi <ciminaghi@gnudd.com> > > 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 <ciminaghi@gnudd.com>
Can't test it right now but looks convincingly correct: Acked-by: Linus Walleij <linus.walleij@linaro.org>
Yours, Linus Walleij
| |