Loading
msm: thermal: Limit the emergency mitigation messages
Thermal can set tsens threshold even if the threshold
value is equal to the current temperature. This will
trigger a tsens notification immediately, which will
print a kernel message. If the temperature stays in
the current value then the emergency mitigation
messages will flood the kernel logs.
Use rate limit feature in printk to reduce the amount
of messages printed from thermal.
CRs-Fixed: 803110
Change-Id: I8fa62ac73421a80658e3696577c0086a27c1102a
Signed-off-by:
Ram Chandrasekar <rkumbako@codeaurora.org>