summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorPeter Rosin <peda@axentia.se>2016-12-02 11:51:14 +0100
committerLinus Walleij <linus.walleij@linaro.org>2016-12-07 15:27:02 +0100
commit6c4ef627d8c458fe8880ccd2e2cd581de0d9b42f (patch)
treef3f5e3e3302205c38aac6874fb1e2603e05ab8e7 /Kbuild
parent222ed59e8dace1c325c30dbee1b0161cf7eff2c7 (diff)
downloadop-kernel-dev-6c4ef627d8c458fe8880ccd2e2cd581de0d9b42f.zip
op-kernel-dev-6c4ef627d8c458fe8880ccd2e2cd581de0d9b42f.tar.gz
pinctrl: sx150x: access the correct bits in the 4-bit regs of sx150[147]
The code assumes 8-bit or 16-bit width registers, but three of the chips (sx1501/sx1504/sx1507) are 4-bit. So, try to handle 4-bit chips as well, they leave the high part of each register unused. Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud