Re: [PATCH 3/3] mfd: arizona: Use regmap_read_poll_timeout instead of hard coding it

2017-01-06 Thread Charles Keepax
On Thu, Jan 05, 2017 at 02:48:22PM +, Lee Jones wrote: > On Thu, 05 Jan 2017, Charles Keepax wrote: > > > On Thu, Jan 05, 2017 at 08:07:01AM +, Lee Jones wrote: > > > On Wed, 04 Jan 2017, Charles Keepax wrote: > > > > > > > arizona_poll_reg essentially hard-codes regmap_read_poll_timeout,

Re: [PATCH 3/3] mfd: arizona: Use regmap_read_poll_timeout instead of hard coding it

2017-01-05 Thread Lee Jones
On Thu, 05 Jan 2017, Charles Keepax wrote: > On Thu, Jan 05, 2017 at 08:07:01AM +, Lee Jones wrote: > > On Wed, 04 Jan 2017, Charles Keepax wrote: > > > > > arizona_poll_reg essentially hard-codes regmap_read_poll_timeout, this > > > patch updates the implementation to use regmap_read_poll_ti

Re: [PATCH 3/3] mfd: arizona: Use regmap_read_poll_timeout instead of hard coding it

2017-01-05 Thread Charles Keepax
On Thu, Jan 05, 2017 at 08:07:01AM +, Lee Jones wrote: > On Wed, 04 Jan 2017, Charles Keepax wrote: > > > arizona_poll_reg essentially hard-codes regmap_read_poll_timeout, this > > patch updates the implementation to use regmap_read_poll_timeout. We > > still keep arizona_poll_reg around as re

Re: [PATCH 3/3] mfd: arizona: Use regmap_read_poll_timeout instead of hard coding it

2017-01-05 Thread Lee Jones
On Wed, 04 Jan 2017, Charles Keepax wrote: > arizona_poll_reg essentially hard-codes regmap_read_poll_timeout, this > patch updates the implementation to use regmap_read_poll_timeout. We > still keep arizona_poll_reg around as regmap_read_poll_timeout is a > macro so rather than expand this for ea

[PATCH 3/3] mfd: arizona: Use regmap_read_poll_timeout instead of hard coding it

2017-01-04 Thread Charles Keepax
arizona_poll_reg essentially hard-codes regmap_read_poll_timeout, this patch updates the implementation to use regmap_read_poll_timeout. We still keep arizona_poll_reg around as regmap_read_poll_timeout is a macro so rather than expand this for each caller keep it wrapped in arizona_poll_reg. Sign