gpio: mxs: use enable/disable regs to (un)mask irqs
authorSascha Hauer <s.hauer@pengutronix.de>
Fri, 21 Oct 2016 13:11:37 +0000 (15:11 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 24 Oct 2016 14:33:11 +0000 (16:33 +0200)
commit66a37c3bbf7348758a154fe99f8035df2874ebeb
tree184d70205c8dc47c7ceba855463fba29b54f985c
parent4035cc15b99f4f4a4e29081b82aca010137e33da
gpio: mxs: use enable/disable regs to (un)mask irqs

The mxs gpio controller does not only have a mask register to mask
interrupts, but also enable/disable registers. Use the enable/disable
registers rather than the mask register. This does not have any
advantage for now, but makes the next patch simpler.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mxs.c