diff options
author | Fabio Estevam <[email protected]> | 2016-08-17 12:41:08 -0300 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2016-09-19 16:09:05 +0200 |
commit | 4de349e786a3a2d51bd02d56f3de151bbc3c3df9 (patch) | |
tree | a3aa347dd8ba7d7db01a4f19405b32657f6d6f10 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 7ac327318e09a53e3df431dfd3f664dac7aba4df (diff) |
can: flexcan: fix resume function
On a imx6ul-pico board the following error is seen during system suspend:
dpm_run_callback(): platform_pm_resume+0x0/0x54 returns -110
PM: Device 2090000.flexcan failed to resume: error -110
The reason for this suspend error is because when the CAN interface is not
active the clocks are disabled and then flexcan_chip_enable() will
always fail due to a timeout error.
In order to fix this issue, only call flexcan_chip_enable/disable()
when the CAN interface is active.
Based on a patch from Dong Aisheng in the NXP kernel.
Signed-off-by: Fabio Estevam <[email protected]>
Cc: linux-stable <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions