Messages in this thread | | | Date | Wed, 9 Jul 2014 10:38:37 +0200 | From | Mark Brown <> | Subject | Re: [PATCH V4] regulator: DA9211 : new regulator driver |
| |
On Wed, Jul 09, 2014 at 05:28:59PM +0900, James Ban wrote:
> How about below code for proper handle of interrupt?
That's fine, or you could have a return value which defaults to IRQ_NONE and then set it to IRQ_HANDLED when you handle a particular bit - that is more common since that way if multiple things happen to flag simultaneously they can be handled in one call to the interrupt handler. [unhandled content-type:application/pgp-signature] | |