mirror of https://gitee.com/openkylin/linux.git
pinctrl: sh-pfc: Print pin group when debugging
Knowing which pin group is being configured is useful information when debugging pin configuration. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
parent
85ccae133b
commit
d2ccdc11fd
|
@ -347,6 +347,8 @@ static int sh_pfc_func_set_mux(struct pinctrl_dev *pctldev, unsigned selector,
|
|||
unsigned int i;
|
||||
int ret = 0;
|
||||
|
||||
dev_dbg(pctldev->dev, "Configuring pin group %s\n", grp->name);
|
||||
|
||||
spin_lock_irqsave(&pfc->lock, flags);
|
||||
|
||||
for (i = 0; i < grp->nr_pins; ++i) {
|
||||
|
|
Loading…
Reference in New Issue