summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/bd9571mwv.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2018-10-25 15:43:44 +0300
committerLee Jones <lee.jones@linaro.org>2019-01-03 08:32:42 +0000
commit10628e3ecf544fa2e4e24f8e112d95c37884dc98 (patch)
tree55aae35440f8a50427a4c42433e2f7ab2493d86a /drivers/mfd/bd9571mwv.c
parenta54e950fdec3cde98caa04bc601cbdc95d0d319c (diff)
downloadlinux-10628e3ecf544fa2e4e24f8e112d95c37884dc98.tar.gz
linux-10628e3ecf544fa2e4e24f8e112d95c37884dc98.tar.bz2
linux-10628e3ecf544fa2e4e24f8e112d95c37884dc98.zip
mfd: ab8500-core: Return zero in get_register_interruptible()
This function is supposed to return zero on success or negative error codes on error. Unfortunately, there is a bug so it sometimes returns non-zero, positive numbers on success. I noticed this bug during review and I can't test it. It does appear that the return is sometimes propogated back to _regmap_read() where all non-zero returns are treated as failure so this may affect run time. Fixes: 47c1697508f2 ("mfd: Align ab8500 with the abx500 interface") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/bd9571mwv.c')
0 files changed, 0 insertions, 0 deletions