Re: [RESEND 3/3] mfd: twl6040: Clear the interrupt ID register before requesting IRQ

From: Lee Jones
Date: Mon Apr 28 2014 - 06:43:28 EST


> If for some reason the boot loader enabled the audpwron GPIO we will have
> pending IRQs to be handled. This seams to break twl6040 for some reason
> leading to non working i2c communication (i2c timeouts). Clearing the INTID
> register after we requested the audpwron GPIO (and set it to low) will
> ensure that the chip will operate normally in this case as well.
>
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@xxxxxx>
> ---
> drivers/mfd/twl6040.c | 3 +++
> 1 file changed, 3 insertions(+)

Applied, thanks.

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
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/