GPIO: Linux: Support IRQ_TYPE_EDGE_BOTH #79
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
With this all Linux kernel interrupt API types are now supported by the
driver.
Branch with full history here:
https://github.com/parallella/parallella-linux/tree/oh-gpio
ChangeLog:
commit 084e854e045df6161228348f8b442ed90e57bb24
Author: Ola Jeppsson [email protected]
Date: Sat May 7 19:45:43 2016 +0200
gpio: oh: Refactor oh_gpio_irq_handler
Add oh_gpio_irq_handler_for_each helper function to avoid
code duplication.
commit 4559f5a3768dd436b921f6ee901ccbdf7646bb51
Author: Ola Jeppsson [email protected]
Date: Sat May 7 18:33:59 2016 +0200
gpio: oh: Add support for IRQ_TYPE_EDGE_BOTH
Toggle IPOL based on the interrupt pin value for interrupt lines that
are configured to be triggered on both the rising and falling edge.
Signed-off-by: Ola Jeppsson [email protected]