diff options
author | Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com> | 2018-07-31 16:13:21 -0400 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-08-01 19:01:35 +0100 |
commit | 496fb59e1274086d0c67681fb1369e9941660dd9 (patch) | |
tree | f1548abc1e4d778c52fe737b122a1bde026d2e79 /drivers/iio/light/isl29125.c | |
parent | 2b4ec22d36d46d03d01d1ec2436080d982284f36 (diff) |
iio: light: si1133: fix uninitialized resp variable
Read response register to detect any error.
Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/light/isl29125.c')
0 files changed, 0 insertions, 0 deletions