Commit 7e8d8ac7 authored by Andrew Jeffery's avatar Andrew Jeffery Committed by Linus Walleij
Browse files

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: default avatarAndrew Jeffery <andrew@aj.id.au>
Reviewed-by: default avatarJoel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20200910025631.2996342-2-andrew@aj.id.au


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent cdfd8606
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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;