pinctrl: aspeed: Fix ast2500 strap register write logic
authorYong Li <sdliyong@gmail.com>
Tue, 15 Aug 2017 16:21:50 +0000 (00:21 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 22 Aug 2017 12:51:44 +0000 (14:51 +0200)
commit1865af212dfa0819ca21c7e5c18c2a75202c1827
treea41e9818e74cab4f7cda796ef66ad48b75d3d3d9
parent1899ccc041069e86557d6952d97f3b41b7333d87
pinctrl: aspeed: Fix ast2500 strap register write logic

On AST2500, the hardware strap register(SCU70) only accepts write ‘1’,
to clear it to ‘0’, must set bits(write  ‘1’) to SCU7C

Signed-off-by: Yong Li <sdliyong@gmail.com>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Tested-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/aspeed/pinctrl-aspeed.c
drivers/pinctrl/aspeed/pinctrl-aspeed.h