summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-sun4i.c
diff options
context:
space:
mode:
authorJean-Baptiste Maneyrol <jmaneyrol@invensense.com>2018-04-23 13:33:30 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-04-28 18:48:10 +0300
commiteaa54d96a435eafe801e1374eccde254b72221f5 (patch)
tree2a929562401f44580e55899cf4589704373909a1 /drivers/pwm/pwm-sun4i.c
parent4cfcb2bfdd07b130f05a3fb39edd6bfa2a59bf7a (diff)
downloadlinux-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/pwm/pwm-sun4i.c')
0 files changed, 0 insertions, 0 deletions