Re: [PATCH 16/20] iio: bmc150: Fix irq checks

2015-08-17 Thread Markus Pargmann
On Sat, Aug 15, 2015 at 02:13:14PM +0100, Jonathan Cameron wrote: > On 12/08/15 11:12, Markus Pargmann wrote: > > Valid irqs are > 0. This patch fixes the check which fails for the new > > spi driver part if no interrupt was given. > > > > Signed-off-by: Markus Pargmann > This one crossed with

Re: [PATCH 16/20] iio: bmc150: Fix irq checks

2015-08-17 Thread Markus Pargmann
On Sat, Aug 15, 2015 at 02:13:14PM +0100, Jonathan Cameron wrote: On 12/08/15 11:12, Markus Pargmann wrote: Valid irqs are 0. This patch fixes the check which fails for the new spi driver part if no interrupt was given. Signed-off-by: Markus Pargmann m...@pengutronix.de This one

Re: [PATCH 16/20] iio: bmc150: Fix irq checks

2015-08-15 Thread Jonathan Cameron
On 12/08/15 11:12, Markus Pargmann wrote: > Valid irqs are > 0. This patch fixes the check which fails for the new > spi driver part if no interrupt was given. > > Signed-off-by: Markus Pargmann This one crossed with Octavian's patch that cleaned up all cases of this. c176becd81843 iio: fix

Re: [PATCH 16/20] iio: bmc150: Fix irq checks

2015-08-15 Thread Jonathan Cameron
On 12/08/15 11:12, Markus Pargmann wrote: Valid irqs are 0. This patch fixes the check which fails for the new spi driver part if no interrupt was given. Signed-off-by: Markus Pargmann m...@pengutronix.de This one crossed with Octavian's patch that cleaned up all cases of this. c176becd81843

[PATCH 16/20] iio: bmc150: Fix irq checks

2015-08-12 Thread Markus Pargmann
Valid irqs are > 0. This patch fixes the check which fails for the new spi driver part if no interrupt was given. Signed-off-by: Markus Pargmann --- drivers/iio/accel/bmc150-accel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/accel/bmc150-accel.c

[PATCH 16/20] iio: bmc150: Fix irq checks

2015-08-12 Thread Markus Pargmann
Valid irqs are 0. This patch fixes the check which fails for the new spi driver part if no interrupt was given. Signed-off-by: Markus Pargmann m...@pengutronix.de --- drivers/iio/accel/bmc150-accel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git