diff options
author | Ian Abbott <abbotti@mev.co.uk> | 2015-10-27 16:59:21 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-29 08:58:36 +0900 |
commit | 3b2468fe9854941a175d57642a05aad6f52289c7 (patch) | |
tree | 398fa8223f9b70cf560c21bec54da1d51957092f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 4e5ffbf29c2042464c64998d2798431c358df251 (diff) |
staging: comedi: comedi_test: use unsigned short for loopback values
The last sample values written to the AO subdevice channels by its
"insn_write" handler `waveform_ao_insn_write()` are stored in the member
array `ao_loopbacks[]` in the device private data `struct
waveform_private`. They can be read back via the "insn_read" handler of
the AI subdevice `waveform_ai_insn_read()`. As the stored sample values
are only 16 bits wide, change the type of the `ao_loopbacks[]` member to
`unsigned short` to save some space.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions