i2c: mxs: disable QUEUE when sending is done
authorWolfram Sang <w.sang@pengutronix.de>
Wed, 25 Apr 2012 11:39:38 +0000 (13:39 +0200)
committerWolfram Sang <w.sang@pengutronix.de>
Fri, 27 Apr 2012 14:13:29 +0000 (16:13 +0200)
commit1e4f0b82577e59f23484c99056c96465e202fdd5
tree07ce440ab54137db4ce391cb88ca34fc3d391ed5
parentc95eeae9e39314273bcda057f27100603d333518
i2c: mxs: disable QUEUE when sending is done

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: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/busses/i2c-mxs.c
This page took 0.029841 seconds and 5 git commands to generate.