summaryrefslogtreecommitdiffstats
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-08-22 22:41:07 +0200
committerLinus Walleij <linus.walleij@linaro.org>2018-08-29 09:08:54 +0200
commitfd935fc421e74b9777370a0175bc011b780173d3 (patch)
tree9e5844495eab4eacb306c3d837064d541624f343 /include/linux/debugobjects.h
parent99399f40d896077ec175d42722d37e625056707e (diff)
downloadcachepc-linux-fd935fc421e74b9777370a0175bc011b780173d3.tar.gz
cachepc-linux-fd935fc421e74b9777370a0175bc011b780173d3.zip
gpio: ep93xx: Do not pingpong irq numbers
For setting debounce config we want to write an offset in a per-gpiochip register, and we know which gpiochip we are on. Instead of a roundtrip over the IRQ number, figure out what port we are on for this GPIO chip, then index to the right register and write the value. This adds the ep93xx_gpio_port() that finds the port index from a struct gpio_chip * that we can later exploit to simplify more code. Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions