lkml.org 
[lkml]   [2014]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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]
\
 
 \ /
  Last update: 2014-07-09 11:41    [W:0.083 / U:0.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site