diff options
| author | Joakim Zhang <[email protected]> | 2020-09-22 16:44:19 +0200 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2020-09-22 16:51:27 +0200 |
| commit | 9ad02c7f4f279504bdd38ab706fdc97d5f2b2a9c (patch) | |
| tree | ce66a4a4e868bb80a5a1db4077a0ab1f4f6325d1 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 15ef2072189ce1191b6315c5ed97b6f8cd7bbc84 (diff) | |
can: flexcan: flexcan_chip_stop(): add error handling and propagate error value
This patch implements error handling and propagates the error value of
flexcan_chip_stop(). This function will be called from flexcan_suspend()
in an upcoming patch in some SoCs which support LPSR mode.
Add a new function flexcan_chip_stop_disable_on_error() that tries to
disable the chip even in case of errors.
Signed-off-by: Joakim Zhang <[email protected]>
[mkl: introduce flexcan_chip_stop_disable_on_error() and use it in flexcan_close()]
Signed-off-by: Marc Kleine-Budde <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions