aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorMaxime Ripard <[email protected]>2013-07-25 12:41:16 +0200
committerLinus Walleij <[email protected]>2013-08-07 21:57:13 +0200
commitdf7b34f4c3d23f25b408d4c0d7f528092becce63 (patch)
tree9e622723aabd03e9f3292f436d4d1e3b538a9ff9 /lib/mpi/mpi-inline.h
parent2aaaddff8df6cdb06b17c739e8e6be5c92665962 (diff)
pinctrl: sunxi: Fix gpio_set behaviour
The current gpio_set function is ignoring the previous value set in the GPIO value register, which leads in erasing the values already set for the other GPIOs in the same bank when setting the value of a given GPIO. Add the usual read/mask/write pattern to fix this brown paper bag bug. Signed-off-by: Maxime Ripard <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions