Quoting Abhinav Kumar (2022-05-18 15:34:07)
If there are errors while trying to enable the pm in the bind path, it will lead to unclocked access of hw revision register thereby crashing the device.
This will not address why the pm_runtime_get_sync() fails but at the very least we should be able to prevent the crash by handling the error and bailing out earlier.
changes in v2: - use pm_runtime_resume_and_get() instead of pm_runtime_get_sync()
Signed-off-by: Abhinav Kumar quic_abhinavk@quicinc.com
Any Fixes tag? When did pm errors start happening in the bind path?
Reviewed-by: Stephen Boyd swboyd@chromium.org