From: Grygorii Strashko Date: Fri, 22 May 2015 14:35:51 +0000 (+0300) Subject: gpio: omap: rework omap_gpio_request to touch only gpio specific registers X-Git-Tag: omap-for-v4.3/legacy-v2-signed~191^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3518172129a60a1f3071e61a8a4ffc50c7b2a68;p=pandora-kernel.git gpio: omap: rework omap_gpio_request to touch only gpio specific registers The GPIO Chip and GPIO IRQ Chip functionality are essentially orthogonal, so GPIO Chip implementation shouldn't touch GPIO IRQ specific registers and vise versa. Hence, rework omap_gpio_request: - don't reset GPIO IRQ triggering type to IRQ_TYPE_NONE, because GPIO irqchip should be responsible for that; - call directly omap_enable_gpio_module as all needed checks are already present inside it. Signed-off-by: Grygorii Strashko Tested-by: Tony Lindgren Signed-off-by: Linus Walleij --- Reading git-diff-tree failed