diff options
-rw-r--r-- | drivers/pinctrl/pinctrl-single.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c index aabecfa507b4..726a729a2ec9 100644 --- a/drivers/pinctrl/pinctrl-single.c +++ b/drivers/pinctrl/pinctrl-single.c | |||
@@ -246,7 +246,15 @@ static void pcs_pin_dbg_show(struct pinctrl_dev *pctldev, | |||
246 | struct seq_file *s, | 246 | struct seq_file *s, |
247 | unsigned offset) | 247 | unsigned offset) |
248 | { | 248 | { |
249 | seq_printf(s, " " DRIVER_NAME); | 249 | struct pcs_device *pcs; |
250 | unsigned val; | ||
251 | |||
252 | pcs = pinctrl_dev_get_drvdata(pctldev); | ||
253 | |||
254 | val = pcs->read(pcs->base + offset); | ||
255 | val &= pcs->fmask; | ||
256 | |||
257 | seq_printf(s, "%08x %s " , val, DRIVER_NAME); | ||
250 | } | 258 | } |
251 | 259 | ||
252 | static void pcs_dt_free_map(struct pinctrl_dev *pctldev, | 260 | static void pcs_dt_free_map(struct pinctrl_dev *pctldev, |