summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/mfd/axp20x.txt
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-04-19 15:35:48 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-24 11:00:16 +0100
commit3a0c4d9778df57772d07ea241a2cc1f734dee986 (patch)
treeeda0b8d05bdf880be0bad246339a696fa453ffaa /Documentation/devicetree/bindings/mfd/axp20x.txt
parent0fff422f157f4e0b64591d4802d0ebe5b0b1579b (diff)
iio: hid-sensor: fix return of -EINVAL on invalid values in ret or value
[ Upstream commit c894acc7bf400d039bf740420b22f0b71b7fb504 ] Ensure that when an invalid value in ret or value is found -EINVAL is returned. A previous commit broke the way the return error is being returned and instead caused the return code in ret to be re-assigned rather than be returned. Fixes: 5d9854eaea776 ("iio: hid-sensor: Store restore poll and hysteresis on S3") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/mfd/axp20x.txt')
0 files changed, 0 insertions, 0 deletions