RE: [PATCH 2/2] tools: iio: print error message when buffer enable fails

2015-07-24 Thread Tirdea, Irina
> -Original Message- > From: Hartmut Knaack [mailto:knaac...@gmx.de] > Sent: 24 July, 2015 2:13 > To: Tirdea, Irina; Jonathan Cameron; linux-...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Subject: Re: [PATCH 2/2] tools: iio: print error message when buff

Re: [PATCH 2/2] tools: iio: print error message when buffer enable fails

2015-07-23 Thread Hartmut Knaack
Irina Tirdea schrieb am 23.07.2015 um 19:22: > Running generic_buffer without enabling any channel of the > sensor will fail without printing any error message. > > Add an error message that indicates buffer enable failed. Hi, please make use of the error code stored in ret (with negative sign),