lkml.org 
[lkml]   [2012]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH] dmaengine/amba-pl08x : reset phychan_hold on terminate all
    From
    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


    \
     
     \ /
      Last update: 2012-04-24 15:13    [W:0.021 / U:240.056 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site