summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/mvebu/pinctrl-dove.c
diff options
context:
space:
mode:
authorPeter Rosin <peda@axentia.se>2016-12-02 11:51:16 +0100
committerLinus Walleij <linus.walleij@linaro.org>2016-12-07 15:27:03 +0100
commit283dc0be75b2fd870ae32a080a568f67c9ac9a4e (patch)
treedf96b1edc92abf67ec9db85b246b3fd0b5f914ed /drivers/pinctrl/mvebu/pinctrl-dove.c
parentc9d26f1aab007a7083f509b4be263bc904ddb0d3 (diff)
downloadop-kernel-dev-283dc0be75b2fd870ae32a080a568f67c9ac9a4e.zip
op-kernel-dev-283dc0be75b2fd870ae32a080a568f67c9ac9a4e.tar.gz
pinctrl: sx150x: handle missing 'advanced' reg in sx1504 and sx1505
This fixes a problem where sx150x_regmap_reg_width() returns 8 for the data register (reg 0) for sx1504 where it should return 4, and return a correct 8 for sx1505 but for the wrong reason (both chips lack the 'advanced' register). This is not a real problem, since nothing depends on the function returning 4 or 8, and certainly not if it is returning 8 for the wrong reason. But fix this to avoid nasty surprises down the line. Signed-off-by: Peter Rosin <peda@axentia.se> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/mvebu/pinctrl-dove.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud