summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorClive Lin <clive.lin@mediatek.com>2023-07-31 14:03:54 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-08-22 21:37:29 +0200
commit5f55836ab41671e005038255fdd60482718d2ca2 (patch)
treebbe60899d0d135eba0c3e6e9f88b8472ea69beb9 /drivers
parent706a741595047797872e669b3101429ab8d378ef (diff)
PM: QoS: Add check to make sure CPU latency is non-negative
CPU latency should never be negative, which will be incorrectly high when converted to unsigned data type. Commit 8d36694245f2 ("PM: QoS: Add check to make sure CPU freq is non-negative") makes sure CPU frequency is non-negative to fix incorrect behavior in freqency QoS. Add an analogous check to make sure CPU latency is non-negative so as to prevent this problem from happening in CPU latency QoS. Signed-off-by: Clive Lin <clive.lin@mediatek.com> [ rjw: Changelog edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions