• Wolfram Sang's avatar
    i2c: mxs: disable QUEUE when sending is done · 1e4f0b82
    Wolfram Sang authored
    Since the last fixes to this driver ensure now the queue termination is
    done correctly, we can finally disable the queue after a transfer
    without problems. The gain is that it will only be reenabled after the
    next transfer is fully set up. Before, the queue was running all the
    time and if the setup of the next message was interrupted by another
    thread, an incomplete buffer could have been sent, padded with zeroes.
    Signed-off-by: default avatarWolfram Sang <w.sang@pengutronix.de>
    1e4f0b82
i2c-mxs.c 10.4 KB