projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77a9feb
)
iio: dac: ad7303: fix channel description
author
Pavel Roskin
<plroskin@gmail.com>
Thu, 13 Apr 2017 21:54:23 +0000
(14:54 -0700)
committer
Jonathan Cameron
<jic23@kernel.org>
Fri, 14 Apr 2017 13:44:29 +0000
(14:44 +0100)
realbits, storagebits and shift should be numbers, not ASCII characters.
Signed-off-by: Pavel Roskin <plroskin@gmail.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/dac/ad7303.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iio/dac/ad7303.c
b/drivers/iio/dac/ad7303.c
index e690dd11e99f64fa1270da8132010f34d94d7241..4b0f942b891458b5e9c1c11167bc37bc7d28cb23 100644
(file)
--- a/
drivers/iio/dac/ad7303.c
+++ b/
drivers/iio/dac/ad7303.c
@@
-184,9
+184,9
@@
static const struct iio_chan_spec_ext_info ad7303_ext_info[] = {
.address = (chan), \
.scan_type = { \
.sign = 'u', \
- .realbits =
'8',
\
- .storagebits =
'8',
\
- .shift =
'0',
\
+ .realbits =
8,
\
+ .storagebits =
8,
\
+ .shift =
0,
\
}, \
.ext_info = ad7303_ext_info, \
}