diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2016-08-22 10:34:13 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-08-22 10:34:13 +0200 |
commit | d16c995fe43021c765186bf8b9f7e1cc4b043232 (patch) | |
tree | 67eed481534bc6c7102110e65ab4c6ee9e0b786a /drivers/thermal/power_allocator.c | |
parent | f3b0946d629c8bfbd3e5f038e30cb9c711a35f10 (diff) | |
parent | 7611da865c1060b2a7c87a15de663a59035747f8 (diff) | |
download | linux-d16c995fe43021c765186bf8b9f7e1cc4b043232.tar.gz |
Merge tag 'irqchip-for-4.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/urgent
Pull genirq/irqchip fixes for 4.8-rc4 from Marc Zygnier
- A critical fix for chained irqchip where we failed to configure
the cascade interrupt trigger
- A GIC fix for self-IPI in SMP-on-UP configurations
- A PM fix for GICv3
- A initialization fix the the GICv3 ITS, triggered by kexec
Diffstat (limited to 'drivers/thermal/power_allocator.c')
-rw-r--r-- | drivers/thermal/power_allocator.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/thermal/power_allocator.c b/drivers/thermal/power_allocator.c index 2f1a863a8e15..b4d3116cfdaf 100644 --- a/drivers/thermal/power_allocator.c +++ b/drivers/thermal/power_allocator.c @@ -529,7 +529,9 @@ static void allow_maximum_power(struct thermal_zone_device *tz) continue; instance->target = 0; + mutex_lock(&instance->cdev->lock); instance->cdev->updated = false; + mutex_unlock(&instance->cdev->lock); thermal_cdev_update(instance->cdev); } } |