summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJimmy Li <coder.liss@gmail.com>2014-03-22 06:58:00 +0100
committerJonathan Cameron <jic23@kernel.org>2014-03-22 12:50:25 +0100
commit6b9da2e77249bd62bb0902319cfa22398f32c538 (patch)
treea84204804a774f9dcdce419acd3f13dc85726d04 /drivers
parentiio: adc: at91_adc: correct default shtim value (diff)
downloadlinux-6b9da2e77249bd62bb0902319cfa22398f32c538.tar.xz
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')
-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;