On Thu, May 08, 2014 at 01:44:13PM +0100, Mark Brown wrote:
> From: Liviu Dudau <[email protected]>
> 
> Recent ARM boards have the KMI devices share one interrupt line rather
> than having dedicated IRQs. Update the driver to take that into account.
> 
> Signed-off-by: Liviu Dudau <[email protected]>
> Signed-off-by: Mark Brown <[email protected]>

Applied, thank you.

> ---
>  drivers/input/serio/ambakmi.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/input/serio/ambakmi.c b/drivers/input/serio/ambakmi.c
> index 762b08432de0..8b748d99b934 100644
> --- a/drivers/input/serio/ambakmi.c
> +++ b/drivers/input/serio/ambakmi.c
> @@ -79,7 +79,8 @@ static int amba_kmi_open(struct serio *io)
>       writeb(divisor, KMICLKDIV);
>       writeb(KMICR_EN, KMICR);
>  
> -     ret = request_irq(kmi->irq, amba_kmi_int, 0, "kmi-pl050", kmi);
> +     ret = request_irq(kmi->irq, amba_kmi_int, IRQF_SHARED, "kmi-pl050",
> +                       kmi);
>       if (ret) {
>               printk(KERN_ERR "kmi: failed to claim IRQ%d\n", kmi->irq);
>               writeb(0, KMICR);
> -- 
> 2.0.0.rc2
> 

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to