summaryrefslogtreecommitdiffstats
path: root/fs/dcache.c
diff options
context:
space:
mode:
authorDaniel Krueger <daniel.krueger@systec-electronic.com>2014-04-07 14:20:32 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-04-28 12:35:08 -0700
commit1e0d9823178f8793dec7d1e9cd08f9bee5123871 (patch)
tree6776551c46d61207f6ab6a4a5f10abf9bfabc3a4 /fs/dcache.c
parent9ea8d8102bbd32d97fe25decd4bf47ad2a63e031 (diff)
downloadlinux-1e0d9823178f8793dec7d1e9cd08f9bee5123871.tar.bz2
gpio-sch: set output level after configuration of direction
According to the datasheet, writing to the level register has no effect when GPIO is programmed as input. Actually the the level register is read-only when configured as input. Thus presetting the output level before switching to output is _NOT_ possible. Any writes are lost! Hence we set the level after configuring the GPIO as output. But we cannot prevent a short low pulse if direction is set to high and an external pull-up is connected. Signed-off-by: Daniel Krueger <daniel.krueger@systec-electronic.com> Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'fs/dcache.c')
0 files changed, 0 insertions, 0 deletions