diff options
-rw-r--r-- | drivers/thermal/intel_soc_dts_thermal.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/thermal/intel_soc_dts_thermal.c b/drivers/thermal/intel_soc_dts_thermal.c index b2bbaa1c60b0..c27868b2c6af 100644 --- a/drivers/thermal/intel_soc_dts_thermal.c +++ b/drivers/thermal/intel_soc_dts_thermal.c | |||
@@ -73,8 +73,12 @@ static int __init intel_soc_thermal_init(void) | |||
73 | IRQF_TRIGGER_RISING | IRQF_ONESHOT, | 73 | IRQF_TRIGGER_RISING | IRQF_ONESHOT, |
74 | "soc_dts", soc_dts); | 74 | "soc_dts", soc_dts); |
75 | if (err) { | 75 | if (err) { |
76 | pr_err("request_threaded_irq ret %d\n", err); | 76 | /* |
77 | goto error_irq; | 77 | * Do not just error out because the user space thermal |
78 | * daemon such as DPTF may use polling instead of being | ||
79 | * interrupt driven. | ||
80 | */ | ||
81 | pr_warn("request_threaded_irq ret %d\n", err); | ||
78 | } | 82 | } |
79 | } | 83 | } |
80 | 84 | ||
@@ -88,7 +92,6 @@ static int __init intel_soc_thermal_init(void) | |||
88 | error_trips: | 92 | error_trips: |
89 | if (soc_dts_thres_irq) | 93 | if (soc_dts_thres_irq) |
90 | free_irq(soc_dts_thres_irq, soc_dts); | 94 | free_irq(soc_dts_thres_irq, soc_dts); |
91 | error_irq: | ||
92 | intel_soc_dts_iosf_exit(soc_dts); | 95 | intel_soc_dts_iosf_exit(soc_dts); |
93 | 96 | ||
94 | return err; | 97 | return err; |