aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRui Miguel Silva <[email protected]>2021-05-12 22:39:29 +0000
committerJonathan Cameron <[email protected]>2021-05-22 07:32:27 +0000
commit2a54c8c9ebc2006bf72554afc84ffc67768979a0 (patch)
treed99799bb9739e641fe2b6c5eb79deeffd58b85af /tools/perf/scripts/python
parentstaging: iio: cdc: ad7746: avoid overwrite of num_channels (diff)
downloadkernel-2a54c8c9ebc2006bf72554afc84ffc67768979a0.tar.gz
kernel-2a54c8c9ebc2006bf72554afc84ffc67768979a0.zip
iio: gyro: fxas21002c: balance runtime power in error path
If we fail to read temperature or axis we need to decrement the runtime pm reference count to trigger autosuspend. Add the call to pm_put to do that in case of error. Fixes: a0701b6263ae ("iio: gyro: add core driver for fxas21002c") Suggested-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Rui Miguel Silva <[email protected]> Link: https://lore.kernel.org/linux-iio/CBBZA9T1OY9C.2611WSV49DV2G@arch-thunder/ Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions