Skip to content
Commit 28c0a843 authored by Eddie Huang's avatar Eddie Huang Committed by Wolfram Sang
Browse files

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: default avatarLiguo Zhang <liguo.zhang@mediatek.com>
Signed-off-by: default avatarEddie Huang <eddie.huang@mediatek.com>
Reviewed-by: default avatarDaniel Kurtz <djkurtz@chromium.org>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent ea89ef1f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment