commit | fe29416b5ca2f80b43622ac3023ed9cd0c1ce777 | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Fri Oct 20 14:42:01 2017 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Oct 25 11:25:38 2017 +0200 |
tree | b2c61c8ac5438680e96db2c98fba1e10d4d641d6 | |
parent | d97a1b5688b015d94d0365b032c0659957a9e9d1 [diff] |
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>