|
@@ -943,12 +943,16 @@ static int __init telemetry_debugfs_init(void)
|
|
debugfs_conf = (struct telemetry_debugfs_conf *)id->driver_data;
|
|
debugfs_conf = (struct telemetry_debugfs_conf *)id->driver_data;
|
|
|
|
|
|
err = telemetry_pltconfig_valid();
|
|
err = telemetry_pltconfig_valid();
|
|
- if (err < 0)
|
|
|
|
|
|
+ if (err < 0) {
|
|
|
|
+ pr_info("Invalid pltconfig, ensure IPC1 device is enabled in BIOS\n");
|
|
return -ENODEV;
|
|
return -ENODEV;
|
|
|
|
+ }
|
|
|
|
|
|
err = telemetry_debugfs_check_evts();
|
|
err = telemetry_debugfs_check_evts();
|
|
- if (err < 0)
|
|
|
|
|
|
+ if (err < 0) {
|
|
|
|
+ pr_info("telemetry_debugfs_check_evts failed\n");
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
|
|
+ }
|
|
|
|
|
|
register_pm_notifier(&pm_notifier);
|
|
register_pm_notifier(&pm_notifier);
|
|
|
|
|