Re: [PATCH] mfd: twl6040: Fix device init errors for ACCCTL register

2019-02-14 Thread Tony Lindgren
* Lee Jones [190214 09:21]: > On Mon, 11 Feb 2019, Tony Lindgren wrote: > > + ret = regcache_sync(twl6040->regmap); > > + if (ret) { > > + dev_err(twl6040->dev, "%s register write failed: %i\n", > > + __func__, ret); > > Please drop

Re: [PATCH] mfd: twl6040: Fix device init errors for ACCCTL register

2019-02-14 Thread Lee Jones
On Mon, 11 Feb 2019, Tony Lindgren wrote: > I noticed that we can get a -EREMOTEIO errors on at least omap4 duovero: > > twl6040 0-004b: Failed to write 2d = 19: -121 > > And then any following register access will produce errors. > > There 2d offset above is register ACCCTL that gets written

Re: [PATCH] mfd: twl6040: Fix device init errors for ACCCTL register

2019-02-11 Thread Peter Ujfalusi
On 12/02/2019 0.57, Tony Lindgren wrote: > I noticed that we can get a -EREMOTEIO errors on at least omap4 duovero: > > twl6040 0-004b: Failed to write 2d = 19: -121 > > And then any following register access will produce errors. > > There 2d offset above is register ACCCTL that gets written

[PATCH] mfd: twl6040: Fix device init errors for ACCCTL register

2019-02-11 Thread Tony Lindgren
I noticed that we can get a -EREMOTEIO errors on at least omap4 duovero: twl6040 0-004b: Failed to write 2d = 19: -121 And then any following register access will produce errors. There 2d offset above is register ACCCTL that gets written on twl6040 powerup. With error checking added to the