From: Jean Pihet Date: Wed, 19 Sep 2012 12:17:20 +0000 (+0200) Subject: PM QoS: Use spinlock in the per-device PM QoS constraints code X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~39^2~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc2fb3a075c206927d3fbad251dae82ba82ccf2d;p=pandora-kernel.git PM QoS: Use spinlock in the per-device PM QoS constraints code The per-device PM QoS locking requires a spinlock to be used. The reasons are: - an alignement with the PM QoS core code, which is used by the per-device PM QoS code for the constraints lists management. The PM QoS core code uses spinlocks to protect the constraints lists, - some drivers need to use the per-device PM QoS functionality from interrupt context or spinlock protected context. An example of such a driver is the OMAP HSI (high-speed synchronous serial interface) driver which needs to control the IP block idle state depending on the FIFO empty state, from interrupt context. Reported-by: Djamil Elaidi Signed-off-by: Jean Pihet Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed