On 09/01/16 16:55, Jonathan Cameron wrote: > On 05/01/16 15:18, Linus Walleij wrote: >> On Sun, Nov 22, 2015 at 1:22 PM, Jonathan Cameron <jic23@xxxxxxxxxx> wrote: >>> On 19/11/15 09:15, Linus Walleij wrote: >>>> Most ST MEMS Sensors that support interrupts can also handle sending >>>> an active low interrupt, i.e. going from high to low on data ready >>>> (or other interrupt) and thus triggering on a falling edge to the >>>> interrupt controller. >>>> >>>> Set up logic to inspect the interrupt line we get for a sensor: if >>>> it is triggering on rising edge, leave everything alone, but if it >>>> triggers on falling edges, set up active low, and if unsupported >>>> configurations appear: warn with errors and reconfigure the interrupt >>>> to a rising edge, which all interrupt generating sensors support. >>>> >>>> Create a local header for st_sensors_core.h to share functions >>>> between the sensor core and the trigger setup code. >>>> >>>> Cc: Giuseppe Barba <giuseppe.barba@xxxxxx> >>>> Cc: Denis Ciocca <denis.ciocca@xxxxxx> >>>> Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx> >>> >>> Looks good to me. Ideally I'd like ack from Denis. >>> (it's early in the cycle so plenty of time for this one!) >> >> Has this fallen off the table? > oops. Yes it has indeed. I still had it marked as outstanding > but it had drifted too many pages up in my patch list to get > noticed. Good thing you are keeping track! >> I think this patch 1/2 is fine >> to merge as-is, I guess it is too late for v4.5 now, but >> please queue it for the next cycle. > It was a little interesting to apply so could you take > a look at my testing branch and check I didn't mess it up. > Needed a fair bit of hand resolution though I think it was > all just fuzz really. Oops, failed to add the new header. Now fixed in testing. Jonathan > > Applied to the togreg branch of iio.git - initially pushed out > as testing. > > Jonathan >> >> Yours, >> Linus Walleij >> > > -- > To unsubscribe from this list: send the line "unsubscribe linux-iio" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html