diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-12-26 09:23:27 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-01-21 13:24:52 +0100 |
commit | d2ccdc11fd7e3b2fbcd1c76ffd24e07c59e21058 (patch) | |
tree | a4c1a2540efb6919701dd4ac4af7f4ca263d341c | |
parent | 85ccae133bde425bce8ebe0a5f64e41749a1885a (diff) | |
download | linux-d2ccdc11fd7e3b2fbcd1c76ffd24e07c59e21058.tar.bz2 |
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>
-rw-r--r-- | drivers/pinctrl/sh-pfc/pinctrl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pinctrl/sh-pfc/pinctrl.c b/drivers/pinctrl/sh-pfc/pinctrl.c index 274d5ff87078..c97d2ba7677c 100644 --- a/drivers/pinctrl/sh-pfc/pinctrl.c +++ b/drivers/pinctrl/sh-pfc/pinctrl.c @@ -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) { |