ARM: OMAP: boards: Fix OMAP_GPIO_IRQ usage with gpio_to_irq()
The following commits change gpio-omap to use dynamic IRQ allocation:25db711
gpio/omap: Fix IRQ handling for SPARSE_IRQ384ebe1
gpio/omap: Add DT support to GPIO driver With dynamic allocation of IRQ the usage of OMAP_GPIO_IRQ is no longer valid. We must be using gpio_to_irq() instead. Signed-off-by: Tarun Kanti DebBarma <tarun.kanti@ti.com> [tony@atomide.com: updated comments] Signed-off-by: Tony Lindgren <tony@atomide.com>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Tony Lindgren

vecāks
a26d3c4fcd
revīzija
46a0a5402f
@@ -487,7 +487,6 @@ static struct platform_device omap3evm_wlan_regulator = {
|
||||
};
|
||||
|
||||
struct wl12xx_platform_data omap3evm_wlan_data __initdata = {
|
||||
.irq = OMAP_GPIO_IRQ(OMAP3EVM_WLAN_IRQ_GPIO),
|
||||
.board_ref_clock = WL12XX_REFCLOCK_38, /* 38.4 MHz */
|
||||
};
|
||||
#endif
|
||||
@@ -623,6 +622,7 @@ static void __init omap3_evm_wl12xx_init(void)
|
||||
int ret;
|
||||
|
||||
/* WL12xx WLAN Init */
|
||||
omap3evm_wlan_data.irq = gpio_to_irq(OMAP3EVM_WLAN_IRQ_GPIO);
|
||||
ret = wl12xx_set_platform_data(&omap3evm_wlan_data);
|
||||
if (ret)
|
||||
pr_err("error setting wl12xx data: %d\n", ret);
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user