diff options
author | Eddie Huang <eddie.huang@mediatek.com> | 2015-08-06 15:22:11 +0800 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-08-11 16:54:47 +0200 |
commit | 28c0a8433dd56146627d00907ad99084654741e8 (patch) | |
tree | 2de4da36b6357c5f6f85229e0368e2e39c5ab351 /include | |
parent | ea89ef1f7bf7c71b4f533a6ffb3f6f124890b37b (diff) | |
download | linux-stable-28c0a8433dd56146627d00907ad99084654741e8.tar.gz linux-stable-28c0a8433dd56146627d00907ad99084654741e8.tar.bz2 linux-stable-28c0a8433dd56146627d00907ad99084654741e8.zip |
i2c: mediatek: Fixup i2c ack error interrupt handling
When occur i2c ack error, i2c controller generate two interrupts,
first is the ack error interrupt, then the complete interrupt.
i2c interrupt handler should keep the two interrupt value, and only
call complete() for the complete interrupt.
Signed-off-by: Liguo Zhang <liguo.zhang@mediatek.com>
Signed-off-by: Eddie Huang <eddie.huang@mediatek.com>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions