diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2016-05-25 17:12:26 +0800 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2016-06-06 15:57:21 -0500 |
commit | b951233aa15e85d43aed2421e0adac1a2abc5770 (patch) | |
tree | b44b85dcf5aeb515d20786035ccb237f89c43c30 /drivers/hwmon/mc13783-adc.c | |
parent | b21b3ad5e1594bce21d418817518aef0b6f47a6a (diff) | |
download | talos-obmc-linux-b951233aa15e85d43aed2421e0adac1a2abc5770.tar.gz talos-obmc-linux-b951233aa15e85d43aed2421e0adac1a2abc5770.zip |
drivers/i2c/i2c-aspeed: Only use IRQ status for command completion notificationopenbmc-20160606-1
We currently determine if an i2c command as complete by looking at the command
register (and comparing it with the pending set of commands). While this
may indicate that all pending commands have completed, we may still get
a further interrupt when multiple commands (like a read + stop) have
been queued.
This change uses the interrupt status to indicate command completion,
instead of the command register.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'drivers/hwmon/mc13783-adc.c')
0 files changed, 0 insertions, 0 deletions