PM / QoS: Fix writing 'auto' to pm_qos_latency_tolerance_us
authorAndrew Lutomirski <luto@kernel.org>
Wed, 30 Nov 2016 01:11:51 +0000 (17:11 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 30 Nov 2016 21:34:23 +0000 (22:34 +0100)
commit80a6f7c79b7822726a096ce9e01cc00a1eacc2c4
treea79f28704a374349f163465d8fa7b7e6e4326142
parentee061da8d9dfc30ced06f25c18694cffa70eac1e
PM / QoS: Fix writing 'auto' to pm_qos_latency_tolerance_us

If it was already 'auto', then writing 'auto' again would
incorrectly fail.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/qos.c