-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers/i2c/i2c-aspeed: Only use IRQ status for command completion no…
…tification 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>
- Loading branch information
Jeremy Kerr
authored and
Joel Stanley
committed
Jun 6, 2016
1 parent
b21b3ad
commit b951233
Showing
1 changed file
with
31 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters