diff options
author | Shinya Kuribayashi <shinya.kuribayashi@necel.com> | 2009-11-06 21:51:00 +0900 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-12-09 00:19:12 +0000 |
commit | 69151e532c97f983b498ea03e20b1598a5487318 (patch) | |
tree | 819bf53c0d5653bb06e40f415dfeffce6f257b8f /drivers/video/cfbcopyarea.c | |
parent | 201d6a70b72d1e6ca5a8e03f5f41a7741241401a (diff) | |
download | kernel_samsung_tuna-69151e532c97f983b498ea03e20b1598a5487318.zip kernel_samsung_tuna-69151e532c97f983b498ea03e20b1598a5487318.tar.gz kernel_samsung_tuna-69151e532c97f983b498ea03e20b1598a5487318.tar.bz2 |
i2c-designware: Disable TX_EMPTY when all i2c_msg msgs has been processed
Currently we disable TX_EMPTY interrupt when buf_len is zero, but this
is wrong. (buf_len == 0) means that all transmit data in the current
i2c_msg message has been sent out, but that doesn't necessarily mean
all i2c_msg messages have been processed.
TX_EMPTY interrupt is used as the driving force of DW I2C transactions,
so we need to keep it enabled as long as i2c_msg messages are available.
Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'drivers/video/cfbcopyarea.c')
0 files changed, 0 insertions, 0 deletions