pinctrl: qcom: increase variable size for register offsets
authorJoonwoo Park <joonwoop@codeaurora.org>
Fri, 30 Jan 2015 10:03:59 +0000 (12:03 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 30 Jan 2015 13:32:44 +0000 (14:32 +0100)
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>
drivers/pinctrl/qcom/pinctrl-msm.h

index b952c4b..54fdd04 100644 (file)
@@ -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;