Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336424
b: refs/heads/master
c: e7ed671
h: refs/heads/master
v: v3
  • Loading branch information
Haojian Zhuang authored and Linus Walleij committed Nov 15, 2012
1 parent e2ac502 commit 19abc3e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: f92bc45ffdcd28c41bb6861753deb1a68d857922
refs/heads/master: e7ed671825d7d8ee7225a9e1de997d643e6d5d69
8 changes: 4 additions & 4 deletions trunk/drivers/pinctrl/pinctrl-single.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,15 +244,15 @@ static int pcs_get_group_pins(struct pinctrl_dev *pctldev,

static void pcs_pin_dbg_show(struct pinctrl_dev *pctldev,
struct seq_file *s,
unsigned offset)
unsigned pin)
{
struct pcs_device *pcs;
unsigned val;
unsigned val, mux_bytes;

pcs = pinctrl_dev_get_drvdata(pctldev);

val = pcs->read(pcs->base + offset);
val &= pcs->fmask;
mux_bytes = pcs->width / BITS_PER_BYTE;
val = pcs->read(pcs->base + pin * mux_bytes);

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

0 comments on commit 19abc3e

Please sign in to comment.