summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBrian Masney <masneyb@onstation.org>2016-09-25 14:41:06 +0300
committerJonathan Cameron <jic23@kernel.org>2016-09-27 23:08:47 +0300
commit528021fcd21fdffad83563710f1186d9b3d21718 (patch)
treed32f685089abf261c8017292478c681c379c1146 /include/linux
parent7fd1accc9fc46c27687f2ea767d84c146790ef1c (diff)
downloadlinux-528021fcd21fdffad83563710f1186d9b3d21718.tar.xz
staging: iio: isl29018: made error handling consistent
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 function. Signed-off-by: Brian Masney <masneyb@onstation.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions