From: Naga Venkata Srikanth V Date: Thu, 25 Jul 2013 13:15:47 +0000 (+0300) Subject: mfd: twl6030-irq: Migrate to IRQ threaded handler X-Git-Tag: v3.12-rc1~100^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87343e534117c2932adfb394351dc83d7c378af6;p=pandora-kernel.git mfd: twl6030-irq: Migrate to IRQ threaded handler 1) Removed request_irq() and replaced it with request_threaded_irq(). 2) Removed generic_handle_irq() and replaced it with handle_nested_irq(). Handling of these interrupts is nested, as we are handling an interrupt (for e.g rtc, mmc1) when we are still servicing TWL irq. 3) Removed I2C read-retry logic for the case when twl_i2c_read() is failed inside IRQ handler - there is no sense to do that, so just report an error and return. 4) Each nested IRQ is configured with corresponding parent_irq, which need to be retriggered in case if nested IRQ is marked as IRQS_PENDING. Signed-off-by: Naga Venkata Srikanth V Signed-off-by: Oleg_Kosheliev Signed-off-by: Grygorii Strashko Acked-by: Graeme Gregory Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed