PM / PM QoS: Fix reversed min and max

pm_qos_get_value had min and max reversed, causing all pm_qos
requests to have no effect.

Signed-off-by: Colin Cross <ccross@android.com>
Acked-by: mark <markgross@thegnar.org>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: stable@kernel.org

authored by Colin Cross and committed by Rafael J. Wysocki 00fafcda 43e60861

+2 -2
+2 -2
kernel/pm_qos_params.c
··· 121 121 122 122 switch (o->type) { 123 123 case PM_QOS_MIN: 124 - return plist_last(&o->requests)->prio; 124 + return plist_first(&o->requests)->prio; 125 125 126 126 case PM_QOS_MAX: 127 - return plist_first(&o->requests)->prio; 127 + return plist_last(&o->requests)->prio; 128 128 129 129 default: 130 130 /* runtime check for not using enum */