diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2019-06-10 20:10:50 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-06-12 11:13:41 +0200 |
commit | 40bb2273a263ada2e563e1e601940e60bf7e53da (patch) | |
tree | 0d49ce63bd7d4f567f252c6db8521ec98f0826d2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dfbc6c7a1d25e933fbb6436fa8d9d28589955cf7 (diff) |
gpio: omap: simplify omap_gpio_get_direction()
Architectures are single-copy atomic, which means that simply reading
a register is an inherently atomic operation. There is no need to
take a spinlock here.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions