Re: [PATCH] input: joystick: Adding Austria Microsystem AS5011joystick driver (fourth version)

From: Dmitry Torokhov
Date: Wed Jan 12 2011 - 00:50:18 EST


On Mon, Jan 10, 2011 at 09:57:59AM +0100, Fabien Marteau wrote:
> Hi Dmitry,
>
> Thanks for the patch, I tested it on my platform and there is a little bug in irq request for the button :
>
> + error = request_threaded_irq(as5011->button_irq,
> + NULL, as5011_button_interrupt,
> + IRQF_TRIGGER_RISING | IRQF_TRIGGER_RISING,
> + "as5011_button", as5011);
>
> Should be :
>
> + error = request_threaded_irq(as5011->button_irq,
> + NULL, as5011_button_interrupt,
> + IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING,
> + "as5011_button", as5011);
>
> With this modification the patch is ok.
>

Great, I applied it.

Thanks.

--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/