aboutsummaryrefslogtreecommitdiff
path: root/drivers/pinctrl/aspeed
diff options
context:
space:
mode:
authorGravatar Andrew Jeffery <andrew@aj.id.au> 2019-06-28 12:08:36 +0930
committerGravatar Linus Walleij <linus.walleij@linaro.org> 2019-07-03 10:35:21 +0200
commitd0d88b5c9ed7cdc8f7d49b153d4ddc1bf1d8eb99 (patch)
treef1cc8583d7d81cfc8b140640da4645252efc0dd5 /drivers/pinctrl/aspeed
parentpinctrl: aspeed: Correct comment that is no longer true (diff)
downloadlinux-d0d88b5c9ed7cdc8f7d49b153d4ddc1bf1d8eb99.tar.gz
linux-d0d88b5c9ed7cdc8f7d49b153d4ddc1bf1d8eb99.tar.bz2
linux-d0d88b5c9ed7cdc8f7d49b153d4ddc1bf1d8eb99.zip
pinctrl: aspeed: Clarify comment about strapping W1C
Writes of 1 to SCU7C clear set bits in SCU70, the hardware strapping register. The information was correct if you squinted while reading, but hopefully switching the order of the registers as listed conveys it better. Cc: Johnny Huang <johnny_huang@aspeedtech.com> Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Acked-by: Joel Stanley <joel@jms.id.au> Link: https://lore.kernel.org/r/20190628023838.15426-7-andrew@aj.id.au Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/aspeed')
-rw-r--r--drivers/pinctrl/aspeed/pinctrl-aspeed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/aspeed/pinctrl-aspeed.c b/drivers/pinctrl/aspeed/pinctrl-aspeed.c
index eb87ab774269..89cf61b764cb 100644
--- a/drivers/pinctrl/aspeed/pinctrl-aspeed.c
+++ b/drivers/pinctrl/aspeed/pinctrl-aspeed.c
@@ -213,7 +213,7 @@ static int aspeed_sig_expr_set(const struct aspeed_sig_expr *expr,
if (desc->ip == ASPEED_IP_SCU && desc->reg == HW_STRAP2)
continue;
- /* On AST2500, Set bits in SCU7C are cleared from SCU70 */
+ /* On AST2500, Set bits in SCU70 are cleared from SCU7C */
if (desc->ip == ASPEED_IP_SCU && desc->reg == HW_STRAP1) {
unsigned int rev_id;