summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDavid Heidelberg <david@ixit.cz>2025-04-02 21:33:26 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-04-22 19:09:57 +0100
commitb8154f3477c46453c8be3257d194cf5fdf5b5a23 (patch)
treef83064f2dcd390c3372b633360aba130941302f0 /tools/perf/scripts/python
parentc0461f8e842495041c18b2c67647501d55c17441 (diff)
downloadlinux-b8154f3477c46453c8be3257d194cf5fdf5b5a23.tar.gz
linux-b8154f3477c46453c8be3257d194cf5fdf5b5a23.zip
iio: light: al3320a: Fix an error handling path in al3320a_probe()
If regmap_write() fails in al3320a_init(), al3320a_set_pwr_off is not called. In order to avoid such a situation, move the devm_add_action_or_reset() which calls al3320a_set_pwr_off right after a successful al3320a_set_pwr_on. Signed-off-by: David Heidelberg <david@ixit.cz> Link: https://patch.msgid.link/20250402-al3010-iio-regmap-v4-3-d189bea87261@ixit.cz Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions