diff options
author | Jean-Baptiste Maneyrol <jmaneyrol@invensense.com> | 2018-04-23 13:33:30 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-04-28 18:48:10 +0300 |
commit | eaa54d96a435eafe801e1374eccde254b72221f5 (patch) | |
tree | 2a929562401f44580e55899cf4589704373909a1 /drivers/regulator/palmas-regulator.c | |
parent | 4cfcb2bfdd07b130f05a3fb39edd6bfa2a59bf7a (diff) | |
download | linux-eaa54d96a435eafe801e1374eccde254b72221f5.tar.xz |
iio: imu: inv_mpu6050: fix error path not turning chip back off
Some functions are turning the chip on and not back off in error
path. With set_power function using a reference counter that
would keep the chip on forever.
Signed-off-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/regulator/palmas-regulator.c')
0 files changed, 0 insertions, 0 deletions