Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 328491
b: refs/heads/master
c: 7d66ce7
h: refs/heads/master
i:
  328489: 187b5dc
  328487: b3e66fa
v: v3
  • Loading branch information
Matt Porter authored and Linus Walleij committed Sep 28, 2012
1 parent 474b044 commit a14b0ef
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4401e2989b5dc5e8e7dedc5a1dec710247f3bb35
refs/heads/master: 7d66ce7f8cf4df01a39a5abad4769df23ff59b8a
10 changes: 9 additions & 1 deletion trunk/drivers/pinctrl/pinctrl-single.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,15 @@ static void pcs_pin_dbg_show(struct pinctrl_dev *pctldev,
struct seq_file *s,
unsigned offset)
{
seq_printf(s, " " DRIVER_NAME);
struct pcs_device *pcs;
unsigned val;

pcs = pinctrl_dev_get_drvdata(pctldev);

val = pcs->read(pcs->base + offset);
val &= pcs->fmask;

seq_printf(s, "%08x %s " , val, DRIVER_NAME);
}

static void pcs_dt_free_map(struct pinctrl_dev *pctldev,
Expand Down

0 comments on commit a14b0ef

Please sign in to comment.