Re: [PATCH v4 01/26] staging: iio: tsl2583: check if chip is in a working state in in_illuminance_calibrate_store

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > in_illuminance_calibrate_store() did not check to see if the chip is > in a working state. This patch adds the proper check. The return value > from taos_als_calibrate() was also not checked in this function, so the > proper check was also added while

Re: [PATCH v4 01/26] staging: iio: tsl2583: check if chip is in a working state in in_illuminance_calibrate_store

2016-11-13 Thread Jonathan Cameron
On 12/11/16 18:19, Brian Masney wrote: > in_illuminance_calibrate_store() did not check to see if the chip is > in a working state. This patch adds the proper check. The return value > from taos_als_calibrate() was also not checked in this function, so the > proper check was also added while

[PATCH v4 01/26] staging: iio: tsl2583: check if chip is in a working state in in_illuminance_calibrate_store

2016-11-12 Thread Brian Masney
in_illuminance_calibrate_store() did not check to see if the chip is in a working state. This patch adds the proper check. The return value from taos_als_calibrate() was also not checked in this function, so the proper check was also added while changes are being made here. Signed-off-by: Brian

[PATCH v4 01/26] staging: iio: tsl2583: check if chip is in a working state in in_illuminance_calibrate_store

2016-11-12 Thread Brian Masney
in_illuminance_calibrate_store() did not check to see if the chip is in a working state. This patch adds the proper check. The return value from taos_als_calibrate() was also not checked in this function, so the proper check was also added while changes are being made here. Signed-off-by: Brian