Re: [PATCH] ARM: shmobile: rcar-gen2: Fix error check in regulator quirk

2018-02-28 Thread Simon Horman
On Wed, Feb 28, 2018 at 10:13:00AM +0100, Geert Uytterhoeven wrote: > 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

[PATCH] ARM: shmobile: rcar-gen2: Fix error check in regulator quirk

2018-02-28 Thread Geert Uytterhoeven
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: shm