diff options
author | Rajat Jain <rajatja@google.com> | 2019-04-18 02:01:54 +0300 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-05-06 17:54:42 +0300 |
commit | 2ac8d46dce1b62d19be6a4fa37334c185b1c75fa (patch) | |
tree | b2999144eebb31b970973d11ba5a6b20cb96b600 /drivers/regulator/da9052-regulator.c | |
parent | 6c96a78c7b3201ac012c6e3b487e41e4558fa621 (diff) | |
download | linux-2ac8d46dce1b62d19be6a4fa37334c185b1c75fa.tar.xz |
platform/x86: intel_pmc_core: Allow to dump debug registers on S0ix failure
Add a module parameter which when enabled, will check on resume, if the
last S0ix attempt was successful. If not, the driver would warn and provide
helpful debug information (which gets latched during the failed suspend
attempt) to debug the S0ix failure.
This information is very useful to debug S0ix failures. Specially since
the latched debug information will be lost (over-written) if the system
attempts to go into runtime (or imminent) S0ix again after that failed
suspend attempt.
Signed-off-by: Rajat Jain <rajatja@google.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/regulator/da9052-regulator.c')
0 files changed, 0 insertions, 0 deletions