mirror of https://gitee.com/openkylin/linux.git
pinctrl: aspeed: Format pinconf debug consistent with pinmux
When displaying which pinconf register and field is being touched, format the field mask so that it's consistent with the way the pinmux portion formats the mask. Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Reviewed-by: Joel Stanley <joel@jms.id.au> Link: https://lore.kernel.org/r/20200910025631.2996342-2-andrew@aj.id.au Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
cdfd8606e0
commit
7e8d8ac78f
|
@ -539,9 +539,9 @@ int aspeed_pin_config_set(struct pinctrl_dev *pctldev, unsigned int offset,
|
|||
if (rc < 0)
|
||||
return rc;
|
||||
|
||||
pr_debug("%s: Set SCU%02X[%lu]=%d for param %d(=%d) on pin %d\n",
|
||||
__func__, pconf->reg, __ffs(pconf->mask),
|
||||
pmap->val, param, arg, offset);
|
||||
pr_debug("%s: Set SCU%02X[0x%08X]=0x%X for param %d(=%d) on pin %d\n",
|
||||
__func__, pconf->reg, pconf->mask,
|
||||
val, param, arg, offset);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue