projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f32b6b
)
staging:iio:ad2s1200 fix a missing break
author
Jimmy Li
<coder.liss@gmail.com>
Sat, 22 Mar 2014 05:58:00 +0000
(
05:58
+0000)
committer
Jonathan Cameron
<jic23@kernel.org>
Sat, 22 Mar 2014 11:50:25 +0000
(11:50 +0000)
Signed-off-by: Jimmy Li <coder.liss@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/resolver/ad2s1200.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/iio/resolver/ad2s1200.c
b/drivers/staging/iio/resolver/ad2s1200.c
index 36eedd8a0ea9815c168889d3ed614597a93847a6..e2b482045158dedb9101f6939b1c4d5dbe071f7d 100644
(file)
--- 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;