diff options
author | 2021-08-06 23:12:18 +0200 | |
---|---|---|
committer | 2021-08-10 22:36:15 +0200 | |
commit | 4e60d5dd10cd82014b26a40519b94444547ec95c (patch) | |
tree | bec9fc65ca712817009dc8548921cf98cf3662b6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | i2c: highlander: add IRQ check (diff) | |
download | linux-dev-4e60d5dd10cd82014b26a40519b94444547ec95c.tar.xz linux-dev-4e60d5dd10cd82014b26a40519b94444547ec95c.zip |
i2c: i801: Improve disabling runtime pm
Setting the autosuspend delay to a negative value disables runtime pm in
a little bit smarter way, because we need no cleanup when removing the
driver. Note that this is safe when reloading the driver, because the
call to pm_runtime_set_autosuspend_delay() in probe() will reverse the
effect. See update_autosuspend() for details.
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions