summaryrefslogtreecommitdiffstats
path: root/lib/ts_fsm.c
diff options
context:
space:
mode:
authorHartmut Knaack <knaack.h@gmx.de>2015-07-09 23:51:31 +0200
committerJonathan Cameron <jic23@kernel.org>2015-08-12 22:16:02 +0100
commit7c7a9eeaa335df03d692ad65e0767020ad1be374 (patch)
tree8cdbccc583152ac8bd2e6689b78362539480e7a4 /lib/ts_fsm.c
parentb465fc5499083d0b7086ae590cb852c0052622a0 (diff)
downloadlinux-7c7a9eeaa335df03d692ad65e0767020ad1be374.tar.bz2
iio:light:stk3310: add more error handling
Check for the following error cases: * lower boundary for val in _write_event * return value of regmap_(field_)read * possible values for chan->type * return value of stk3310_gpio_probe Also add an error path in _probe to put the sensor back into stand-by mode in case of serious errors. Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'lib/ts_fsm.c')
0 files changed, 0 insertions, 0 deletions