Re: [PATCH] regmap: add iopoll-like polling macro

2016-07-14 Thread Mark Brown
On Wed, Jul 13, 2016 at 09:37:09AM +0200, Philipp Zabel wrote: > Any comments on this? If I can't convince you to keep the macro, I could > change it into a function: No, I've not looked at your mail yet. Please don't send content free pings. signature.asc Description: PGP signature

Re: [PATCH] regmap: add iopoll-like polling macro

2016-07-13 Thread Philipp Zabel
Hi Mark, Am Freitag, den 08.07.2016, 18:26 +0200 schrieb Philipp Zabel: > Am Freitag, den 08.07.2016, 16:39 +0200 schrieb Mark Brown: > > On Thu, Jul 07, 2016 at 12:01:43PM +0200, Philipp Zabel wrote: > > > Am Donnerstag, den 07.07.2016, 11:42 +0200 schrieb Mark Brown: > > > > On Wed, Jul 06, 2016

Re: [PATCH] regmap: add iopoll-like polling macro

2016-07-08 Thread Philipp Zabel
Am Freitag, den 08.07.2016, 16:39 +0200 schrieb Mark Brown: > On Thu, Jul 07, 2016 at 12:01:43PM +0200, Philipp Zabel wrote: > > Am Donnerstag, den 07.07.2016, 11:42 +0200 schrieb Mark Brown: > > > On Wed, Jul 06, 2016 at 04:19:41PM +0200, Philipp Zabel wrote: > > > > > This patch adds a macro reg

Re: [PATCH] regmap: add iopoll-like polling macro

2016-07-08 Thread Mark Brown
On Thu, Jul 07, 2016 at 12:01:43PM +0200, Philipp Zabel wrote: > Am Donnerstag, den 07.07.2016, 11:42 +0200 schrieb Mark Brown: > > On Wed, Jul 06, 2016 at 04:19:41PM +0200, Philipp Zabel wrote: > > > This patch adds a macro regmap_read_poll_timeout that works similar > > > to the readx_poll_timeo

Re: [PATCH] regmap: add iopoll-like polling macro

2016-07-07 Thread Philipp Zabel
Hi Mark, thank you for the comments. Am Donnerstag, den 07.07.2016, 11:42 +0200 schrieb Mark Brown: > On Wed, Jul 06, 2016 at 04:19:41PM +0200, Philipp Zabel wrote: > > > This patch adds a macro regmap_read_poll_timeout that works similar > > to the readx_poll_timeout defined in linux/iopoll.h,

Re: [PATCH] regmap: add iopoll-like polling macro

2016-07-07 Thread Mark Brown
On Wed, Jul 06, 2016 at 04:19:41PM +0200, Philipp Zabel wrote: > This patch adds a macro regmap_read_poll_timeout that works similar > to the readx_poll_timeout defined in linux/iopoll.h, except that this > can also return the error value returned by a failed regmap_read. Please make this a prope