diff options
author | Joonwoo Park <joonwoop@codeaurora.org> | 2015-01-30 12:03:59 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-01-30 14:32:44 +0100 |
commit | 981de1cb42306ebd94caa0d053a2b0ad47414043 (patch) | |
tree | d77a506718b17586a5a424a40b51aa5790a86dd3 /drivers/pinctrl | |
parent | 4f06266a62446afc07c6b7e64edc55ea13852bce (diff) | |
download | linux-stable-981de1cb42306ebd94caa0d053a2b0ad47414043.tar.gz linux-stable-981de1cb42306ebd94caa0d053a2b0ad47414043.tar.bz2 linux-stable-981de1cb42306ebd94caa0d053a2b0ad47414043.zip |
pinctrl: qcom: increase variable size for register offsets
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>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r-- | drivers/pinctrl/qcom/pinctrl-msm.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/pinctrl/qcom/pinctrl-msm.h b/drivers/pinctrl/qcom/pinctrl-msm.h index b952c4b4a8e9..54fdd04ce9d5 100644 --- a/drivers/pinctrl/qcom/pinctrl-msm.h +++ b/drivers/pinctrl/qcom/pinctrl-msm.h @@ -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; |