diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-02-28 10:13:00 +0100 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2018-02-28 14:25:49 +0100 |
commit | 60fc75bdf5b1b8ed3e0a372b7b35f27726ff542b (patch) | |
tree | 6de626be7071152698aaa728b4e4f2fdaa5af4f3 /kernel/user_namespace.c | |
parent | bf79cd635db50fab2319add2462cf803ff76d346 (diff) | |
download | linux-stable-60fc75bdf5b1b8ed3e0a372b7b35f27726ff542b.tar.gz linux-stable-60fc75bdf5b1b8ed3e0a372b7b35f27726ff542b.tar.bz2 linux-stable-60fc75bdf5b1b8ed3e0a372b7b35f27726ff542b.zip |
ARM: shmobile: rcar-gen2: Fix error check in regulator quirk
On systems with two regulators, a bogus error message is printed on
success:
i2c 6-0058: i2c error 2
While adding support for Stout, the number of messages to send was
made variable, but the corresponding return value check of
i2c_transfer() wasn't updated.
Fixes: ff938cd14d67a704 ("ARM: shmobile: stout: enable R-Car Gen2 regulator quirk")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'kernel/user_namespace.c')
0 files changed, 0 insertions, 0 deletions