Commit d28a45cf authored by davidchao's avatar davidchao
Browse files

edgetpu: abrolhos: modify cooling device return value



To avoid thermal genl sending too many unnecessary events,
Modify the cooling device callback return value when the new
cooling action is the same as the old one.

Bug: 170682696
Test: run burn8 and only update cur_state when the new and old action
are different.

Change-Id: I163c9fa0d74e6744d3db10d95e4bfa654259890f
Signed-off-by: default avatardavidchao <davidchao@google.com>
parent 30933262
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment