]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitad1d1416dd2f0256d4c0e469cd3f74ba123a4519
tree184d70205c8dc47c7ceba855463fba29b54f985c
parentfa0e952d4a59c38ccd4a3649e9d13afcaf5e41fe
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