Re: [PATCH v2] mfd: arizona: Don't use regmap_read_poll_timeout

2018-07-03 Thread Lee Jones
On Mon, 18 Jun 2018, Charles Keepax wrote: > On Mon, Jun 18, 2018 at 07:27:54AM +0100, Lee Jones wrote: > > On Mon, 04 Jun 2018, Charles Keepax wrote: > > > @@ -240,18 +241,28 @@ static int arizona_poll_reg(struct arizona *arizona, > > > int timeout_ms, unsigned int reg, > >

Re: [PATCH v2] mfd: arizona: Don't use regmap_read_poll_timeout

2018-06-18 Thread Charles Keepax
On Mon, Jun 18, 2018 at 07:27:54AM +0100, Lee Jones wrote: > On Mon, 04 Jun 2018, Charles Keepax wrote: > > @@ -240,18 +241,28 @@ static int arizona_poll_reg(struct arizona *arizona, > > int timeout_ms, unsigned int reg, > > unsigned int mask, unsigne

Re: [PATCH v2] mfd: arizona: Don't use regmap_read_poll_timeout

2018-06-17 Thread Lee Jones
On Mon, 04 Jun 2018, Charles Keepax wrote: > Some Arizona CODECs have a small timing window where they will > NAK an I2C transaction if it happens before the boot done bit is > set. This can cause the read of the register containing the boot > done bit to fail until it is set. Since regmap_read_po