]> git.baikalelectronics.ru Git - kernel.git/commit
PM / QoS: Use the correct variable to check the QoS request type
authorJan H. Schönherr <jschoenh@amazon.de>
Tue, 5 Sep 2017 21:14:29 +0000 (23:14 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 18 Sep 2017 11:38:30 +0000 (13:38 +0200)
commit5ca0f4ef005b75a3546bb1c637d55e1f19b1e71a
treebcfb1d58c5d26331c10ab39a7d95e5520f8c833f
parent384fde7ed224f283f11ef2a592b05d4a29492aa8
PM / QoS: Use the correct variable to check the QoS request type

Use the actual function argument for the validation of the request type,
instead of the type field in a fresh (supposedly zero-initialized)
request structure.

Signed-off-by: Jan H. Schönherr <jschoenh@amazon.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/qos.c