• Nicolas Ferre's avatar
    dmaengine: at_hdmac: pause: no need to wait for FIFO empty · de7a2f9f
    Nicolas Ferre authored
    With the addition of the "pause" feature, an active wait was introduced
    to check the "FIFO empty" event. This event was not always happening and
    a timout contition was needed.
    But, in some cases, this event depend on the peripheral connected to the
    channel that is paused: FIFO becomes empty if the peripheral consumes data.
    The timeout is pretty difficult to evaluate. Moreover, this check is not
    needed.
    In conclusion, it seems sensible to entirely remove the checking of
    "FIFO empty" status when pausing.
    Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
    [commit msg edited for grammer]
    Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
    de7a2f9f
at_hdmac.c 37.4 KB