From: Sebastian Andrzej Siewior Date: Mon, 7 Apr 2014 10:13:05 +0000 (+0200) Subject: gpio: dwapb: drop irq_setup_generic_chip() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~53^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11d3d334af07408ce3a68860c40006ddcd343da5;p=pandora-kernel.git gpio: dwapb: drop irq_setup_generic_chip() The driver calls irq_alloc_domain_generic_chips() which creates a gc and adds it to gc_list. The driver later then calls irq_setup_generic_chip() which also initializes the gc and adds it to the gc_list() and this corrupts the list. Enable LIST_DEBUG and you see the kernel complain. This isn't required, irq_alloc_domain_generic_chips() did the init. Signed-off-by: Sebastian Andrzej Siewior Tested-by: Alan Tull Signed-off-by: Linus Walleij --- Reading git-diff-tree failed