diff options
author | Marc Kleine-Budde <[email protected]> | 2021-10-22 18:45:05 +0200 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2022-01-08 20:17:41 +0100 |
commit | e91aae8efc4eebd33bdebe067ab248c242cc0135 (patch) | |
tree | 352e38b19ee5ced7c55070e7501590622c57157a /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 3bd9d8ce6f8c5c43ee2f1106021db0f98882cc75 (diff) |
can: mcp251xfd: mcp251xfd_open(): open_candev() first
This patch exchanges the order of open_candev() and
pm_runtime_get_sync(), so that open_candev() is called first.
A usual reason why open_candev() fails is missing CAN bit rate
configuration. It makes no sense to resume the device from PM sleep
first just to put it to sleep if the bit rate is not configured.
Link: https://lore.kernel.org/all/[email protected]
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions