aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorChen-Yu Tsai <[email protected]>2014-05-22 23:20:55 +0800
committerLinus Walleij <[email protected]>2014-05-27 11:26:01 +0200
commitb4575c699882346c0c18e93bb5173c2689965c7b (patch)
tree45b0036476c6ef28dc9637fc9eba788306ab5e91 /tools/perf/util/trace-event-scripting.c
parent2cc140fe360732bc5467df3ad932685c76078dd4 (diff)
pinctrl: sunxi: fix pin numbers passed to register offset helpers
The pin numbers passed to sunxi_*_reg helpers to get the correct registers should be the pin offset for the PIO block, not the absolute number we use that is based on the alphanumeric labels Allwinner uses. This patch subtracts .pin_base from the pin number passed to these functions, so the driver accesses the correct registers. Signed-off-by: Chen-Yu Tsai <[email protected]> Reviewed-by: Boris Brezillon <[email protected]> Acked-by: Maxime Ripard <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions