• Mikhail Karpenko's avatar
    Use separate wait queue for each port in circbuf · f7f5be40
    Mikhail Karpenko authored
    Now each channel has its own instance of wait queue to prevent race
    conditions when one channel wakes up the queue while the other channel
    is processing interrupt and moved its write pointer, but has not
    finished all other functions yet (i.e. filling interframe parameters).