diff options
author | Ivan T. Ivanov <ivan.ivanov@linaro.org> | 2015-11-18 03:06:44 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2016-01-11 09:23:32 +0300 |
commit | 742dcd115cb523f4b518bfcda870e10a027a8024 (patch) | |
tree | e3d03e6e252decb063fefa0d2639b28369dda623 /drivers/gpio | |
parent | a5656a708050bd3be5c3a3bc45297db21e88cecd (diff) | |
download | linux-742dcd115cb523f4b518bfcda870e10a027a8024.tar.xz |
mfd: qcom-spmi-pmic: Don't access non-existing registers
Revision ID registers are available only on devices with
Slave IDs that are even, so don't make access to unavailable
registers.
Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org>
[sboyd@codeaurora.org: Consider all slave ids that are even]
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions