Message ID | 56EC811C.6020404@redhat.com (mailing list archive) |
---|---|
State | Superseded, archived |
Delegated to: | Zhang Rui |
Headers | show |
T24gRnJpLCAyMDE2LTAzLTE4IGF0IDE1OjI4IC0wNzAwLCBMYXVyYSBBYmJvdHQgd3JvdGU6DQo+ IChicmluZ2luZyB0aGlzIGJhY2sgdG8gdGhlIG1haW4gdGhyZWFkKQ0KPiANCj4gT24gMDMvMTYv MjAxNiAwNToyMCBQTSwgUGFuZHJ1dmFkYSwgU3Jpbml2YXMgd3JvdGU6DQo+ID4gT24gV2VkLCAy MDE2LTAzLTE2IGF0IDE3OjAwIC0wNzAwLCBMYXVyYSBBYmJvdHQgd3JvdGU6DQo+ID4gPiBPbiAw My8xNi8yMDE2IDAzOjQ2IFBNLCBHcmVnIEtyb2FoLUhhcnRtYW4gd3JvdGU6DQo+ID4gPiA+IE9u IFdlZCwgTWFyIDE2LCAyMDE2IGF0IDAzOjI3OjU3UE0gLTA3MDAsIExhdXJhIEFiYm90dCB3cm90 ZToNCj4gPiA+ID4gPiBIaSwNCj4gPiA+ID4gPiANCj4gPiA+ID4gPiBGZWRvcmEgcmVjZWl2ZWQg YSBidWcgcmVwb3J0IChodHRwczovL2J1Z3ppbGxhLnJlZGhhdC5jb20vc2hvDQo+ID4gPiA+ID4g d19idQ0KPiA+ID4gPiA+IGcuY2dpP2lkPTEzMTcxOTApDQo+ID4gPiA+ID4gb2YgYSBtYWpvciBw ZXJmb3JtYW5jZSBkcm9wIG9uIHZhcmlvdXMgYmVuY2ggbWFya3MgYW5kDQo+ID4gPiA+ID4gZ2Vu ZXJhbA0KPiA+ID4gPiA+IHN5c3RlbQ0KPiA+ID4gPiA+IHNsdWdnaXNobmVzcyB3aXRoIHRoZSA0 LjQuNCBrZXJuZWwgdXBkYXRlLiBUaGUgYmVuY2htYXJrcw0KPiA+ID4gPiA+IHdlcmUNCj4gPiA+ ID4gPiBzaG93aW5nDQo+ID4gPiA+ID4gYSByZWR1Y3Rpb24gdG8gYWJ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oNClRo YW5rcywNClNyaW5pdmFzDQoNCj4gKGNvbXBsZXRlbHkgdW50ZXN0ZWQsIG5vIGlkZWEgaWYgSSdt IGV2ZW4gY2xvc2UpDQo+IA0KPiBUaGFua3MsDQo+IExhdXJh -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/thermal/step_wise.c b/drivers/thermal/step_wise.c index ea9366a..1228797 100644 --- a/drivers/thermal/step_wise.c +++ b/drivers/thermal/step_wise.c @@ -143,7 +143,7 @@ static void thermal_zone_trip_update(struct thermal_zone_device *tz, int trip) trend = get_tz_trend(tz, trip); - if (tz->temperature >= trip_temp) { + if (trip_type != THERMAL_TRIPS_NONE && tz->temperature >= trip_temp) { throttle = true; trace_thermal_zone_trip(tz, trip, trip_type); }