Re: [PATCH 2/3] staging: iio: isl29018: made error handling consistent

2016-09-25 Thread Jonathan Cameron
On 25/09/16 12:41, Brian Masney wrote: > Changed the processing of IIO_CHAN_INFO_INT_TIME in isl29018_write_raw() > to unlock the mutex and return at the end of the function if invalid > input is passed in. This makes the error handling code consistent with > the processing of IIO_CHAN_INFO_CALIBSC

[PATCH 2/3] staging: iio: isl29018: made error handling consistent

2016-09-25 Thread Brian Masney
Changed the processing of IIO_CHAN_INFO_INT_TIME in isl29018_write_raw() to unlock the mutex and return at the end of the function if invalid input is passed in. This makes the error handling code consistent with the processing of IIO_CHAN_INFO_CALIBSCALE and IIO_CHAN_INFO_SCALE within the same fun