From: Mika Westerberg Date: Mon, 27 Jul 2015 15:03:56 +0000 (+0300) Subject: PM / QoS: Make it possible to expose device latency tolerance to userspace X-Git-Tag: omap-for-v4.3/fixes-rc1~93^2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13b2c4a0c3b1cd37ee6bcfbb5b6e2b94e9a75364;p=pandora-kernel.git PM / QoS: Make it possible to expose device latency tolerance to userspace Typically when a device is created the bus core it belongs to (for example PCI) does not know if the device supports things like latency tolerance. This is left to the driver that binds to the device in question. However, at that time the device has already been created and there is no way to set its dev->power.set_latency_tolerance anymore. So follow what has been done for other PM QoS attributes as well and allow drivers to expose and hide latency tolerance from userspace, if the device supports it. Acked-by: Rafael J. Wysocki Signed-off-by: Mika Westerberg Signed-off-by: Andy Shevchenko Signed-off-by: Lee Jones --- Reading git-diff-tree failed