Re: [PATCH 2/3] iio: qcom-spmi-iadc: cleanup wait_for_completion return handling

2015-02-05 Thread Ivan T. Ivanov
On Wed, 2015-02-04 at 16:59 +, Jonathan Cameron wrote: > On 02/02/15 08:37, Nicholas Mc Guire wrote: > > This patch fixes two issues: > > * return type of wait_for_completion_timeout is unsigned long not int, > > rather than adding a dedicated variable the wait_for_completion_timeout > >

Re: [PATCH 2/3] iio: qcom-spmi-iadc: cleanup wait_for_completion return handling

2015-02-05 Thread Ivan T. Ivanov
On Wed, 2015-02-04 at 16:59 +, Jonathan Cameron wrote: On 02/02/15 08:37, Nicholas Mc Guire wrote: This patch fixes two issues: * return type of wait_for_completion_timeout is unsigned long not int, rather than adding a dedicated variable the wait_for_completion_timeout is moved

Re: [PATCH 2/3] iio: qcom-spmi-iadc: cleanup wait_for_completion return handling

2015-02-04 Thread Jonathan Cameron
On 02/02/15 08:37, Nicholas Mc Guire wrote: > This patch fixes two issues: > * return type of wait_for_completion_timeout is unsigned long not int, > rather than adding a dedicated variable the wait_for_completion_timeout > is moved into the condition directly > * the timeout of

Re: [PATCH 2/3] iio: qcom-spmi-iadc: cleanup wait_for_completion return handling

2015-02-04 Thread Jonathan Cameron
On 02/02/15 08:37, Nicholas Mc Guire wrote: This patch fixes two issues: * return type of wait_for_completion_timeout is unsigned long not int, rather than adding a dedicated variable the wait_for_completion_timeout is moved into the condition directly * the timeout of

[PATCH 2/3] iio: qcom-spmi-iadc: cleanup wait_for_completion return handling

2015-02-02 Thread Nicholas Mc Guire
This patch fixes two issues: * return type of wait_for_completion_timeout is unsigned long not int, rather than adding a dedicated variable the wait_for_completion_timeout is moved into the condition directly * the timeout of wait_for_completion_timeout is in jiffies but the value being

[PATCH 2/3] iio: qcom-spmi-iadc: cleanup wait_for_completion return handling

2015-02-02 Thread Nicholas Mc Guire
This patch fixes two issues: * return type of wait_for_completion_timeout is unsigned long not int, rather than adding a dedicated variable the wait_for_completion_timeout is moved into the condition directly * the timeout of wait_for_completion_timeout is in jiffies but the value being