Commit 953334de authored by Pavel Roskin's avatar Pavel Roskin Committed by Sasha Levin

iio: dac: ad7303: fix channel description

[ Upstream commit ce420fd4 ]

realbits, storagebits and shift should be numbers, not ASCII characters.
Signed-off-by: default avatarPavel Roskin <plroskin@gmail.com>
Reviewed-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Cc: <Stable@vger.kernel.org>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
Signed-off-by: default avatarSasha Levin <alexander.levin@verizon.com>
parent 60e2e499
......@@ -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, \
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment