diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2017-10-20 14:42:01 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-10-25 11:25:38 +0200 |
commit | fe29416b5ca2f80b43622ac3023ed9cd0c1ce777 (patch) | |
tree | b2c61c8ac5438680e96db2c98fba1e10d4d641d6 /ipc | |
parent | gpio: dwapb: fix bgpio usage (diff) | |
download | linux-fe29416b5ca2f80b43622ac3023ed9cd0c1ce777.tar.xz linux-fe29416b5ca2f80b43622ac3023ed9cd0c1ce777.zip |
gpio: loongson1: fix bgpio usage
When no flags are given, the native endianness is used to access
the MMIO registers, and the pin2mask() call can simply be
converted to a BIT() call, as per the default pin2mask()
implementation in gpio-mmio.c.
Cc: Kelvin Cheung <keguang.zhang@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions