diff options
| author | John Syne <rodrigosiqueiramelo@gmail.com> | 2018-03-23 11:25:48 -0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-03-24 12:42:26 +0000 |
| commit | 6cef2ab01636b6021044f349df466a97c408ec27 (patch) | |
| tree | 196d6791890eba0c393c0aa13cd9f5fc492cce2d /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 4297b23d927fa5265378f4a71372ecef3c33023a (diff) | |
| download | linux-6cef2ab01636b6021044f349df466a97c408ec27.tar.gz linux-6cef2ab01636b6021044f349df466a97c408ec27.zip | |
staging:iio:ade7854: Fix the wrong number of bits to read
Fixes: correctly handle the data size in the read operation for I2C
The function ade7854_i2c_read_reg_32() have to invoke the
i2c_master_recv() for read 32 bits values, however, the counter is set
to 3 which means 24 bits. This patch fixes the wrong size of 24 bits, to
32 bits.
Signed-off-by: John Syne <john3909@gmail.com>
Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Fixes: 8d97a5877 ("staging: iio: meter: new driver for ADE7754 devices")
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
