Skip to content

Commit

Permalink
staging:iio:ad2s1200 fix a missing break
Browse files Browse the repository at this point in the history
Signed-off-by: Jimmy Li <coder.liss@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
  • Loading branch information
Jimmy Li authored and Jonathan Cameron committed Mar 22, 2014
1 parent 8f32b6b commit 6b9da2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/staging/iio/resolver/ad2s1200.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6b9da2e

Please sign in to comment.