Skip to content

Commit

Permalink
pinctrl: qcom: increase variable size for register offsets
Browse files Browse the repository at this point in the history
On newer TLMM hardware blocks the registers are spread and
we need an offsets upper than 16 bits to address them. Increase
the register offset variables to 32 bits size.

Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
Signed-off-by: Stanimir Varbanov <svarbanov@mm-sol.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
  • Loading branch information
Joonwoo Park authored and Linus Walleij committed Jan 30, 2015
1 parent 4f06266 commit 981de1c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions drivers/pinctrl/qcom/pinctrl-msm.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ struct msm_pingroup {
unsigned *funcs;
unsigned nfuncs;

s16 ctl_reg;
s16 io_reg;
s16 intr_cfg_reg;
s16 intr_status_reg;
s16 intr_target_reg;
u32 ctl_reg;
u32 io_reg;
u32 intr_cfg_reg;
u32 intr_status_reg;
u32 intr_target_reg;

unsigned mux_bit:5;

Expand Down

0 comments on commit 981de1c

Please sign in to comment.