staging:iio:ad2s1200 fix a missing break

Signed-off-by: Jimmy Li <coder.liss@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
Jimmy Li 2014-03-22 05:58:00 +00:00 committed by Jonathan Cameron
parent 8f32b6ba56
commit 6b9da2e772
1 changed files with 1 additions and 0 deletions

View File

@ -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;