Commit 6b9da2e7 authored by Jimmy Li's avatar Jimmy Li Committed by Jonathan Cameron

staging:iio:ad2s1200 fix a missing break

Signed-off-by: default avatarJimmy Li <coder.liss@gmail.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 8f32b6ba
......@@ -70,6 +70,7 @@ static int ad2s1200_read_raw(struct iio_dev *indio_dev,
vel = (((s16)(st->rx[0])) << 4) | ((st->rx[1] & 0xF0) >> 4);
vel = (vel << 4) >> 4;
*val = vel;
break;
default:
mutex_unlock(&st->lock);
return -EINVAL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment