From: Jean Pihet Date: Thu, 20 Sep 2012 16:08:03 +0000 (+0200) Subject: ARM: OMAP: convert I2C driver to PM QoS for MPU latency constraints X-Git-Tag: v3.7-rc1~50^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3db11feffc1ad2ab9dea27789e6b5b3032827adc;p=pandora-kernel.git ARM: OMAP: convert I2C driver to PM QoS for MPU latency constraints Convert the driver from the outdated omap_pm_set_max_mpu_wakeup_lat API to the new PM QoS API. Since the constraint is on the MPU subsystem, use the PM_QOS_CPU_DMA_LATENCY class of PM QoS. The resulting MPU constraints are used by cpuidle to decide the next power state of the MPU subsystem. The I2C device latency timing is derived from the FIFO size and the clock speed and so is applicable to all OMAP SoCs. Signed-off-by: Jean Pihet Acked-by: Shubhrajyoti D Acked-by: Tony Lindgren Acked-by: Kevin Hilman Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed