diff options
author | Tong Zhang <[email protected]> | 2021-03-01 21:55:40 -0500 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2021-03-16 08:41:27 +0100 |
commit | 6e2fe01dd6f98da6cae8b07cd5cfa67abc70d97d (patch) | |
tree | 70e8d611ad7687ab6bbac33f400d43a0d4c75b26 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 0429d6d89f97ebff4f17f13f5b5069c66bde8138 (diff) |
can: c_can: move runtime PM enable/disable to c_can_platform
Currently doing modprobe c_can_pci will make the kernel complain:
Unbalanced pm_runtime_enable!
this is caused by pm_runtime_enable() called before pm is initialized.
This fix is similar to 227619c3ff7c, move those pm_enable/disable code
to c_can_platform.
Fixes: 4cdd34b26826 ("can: c_can: Add runtime PM support to Bosch C_CAN/D_CAN controller")
Link: http://lore.kernel.org/r/[email protected]
Signed-off-by: Tong Zhang <[email protected]>
Tested-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions