summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorJimmy Li <coder.liss@gmail.com>2014-03-22 05:58:00 +0000
committerJonathan Cameron <jic23@kernel.org>2014-03-22 11:50:25 +0000
commit6b9da2e77249bd62bb0902319cfa22398f32c538 (patch)
treea84204804a774f9dcdce419acd3f13dc85726d04 /drivers/staging
parent8f32b6ba56ef8c8434635b9f08ff6a23510960a5 (diff)
downloadlinux-6b9da2e77249bd62bb0902319cfa22398f32c538.tar.gz
linux-6b9da2e77249bd62bb0902319cfa22398f32c538.tar.bz2
linux-6b9da2e77249bd62bb0902319cfa22398f32c538.zip
staging:iio:ad2s1200 fix a missing break
Signed-off-by: Jimmy Li <coder.liss@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/iio/resolver/ad2s1200.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/iio/resolver/ad2s1200.c b/drivers/staging/iio/resolver/ad2s1200.c
index 36eedd8a0ea9..e2b482045158 100644
--- a/drivers/staging/iio/resolver/ad2s1200.c
+++ b/drivers/staging/iio/resolver/ad2s1200.c
@@ -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;