diff options
author | Amjad Ouled-Ameur <[email protected]> | 2023-01-27 16:44:46 +0100 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2023-04-01 20:51:29 +0200 |
commit | 10debf8c2da8011c8009dd4b3f6d0ab85891c81b (patch) | |
tree | f514adf885903dbc8b20daef6c72a02c0bd24674 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | 56edffdc298a056ed6923c89b9af7c927ff0ac8f (diff) |
thermal/drivers/mediatek: Add delay after thermal banks initialization
Thermal sensor reads performed immediately after thermal bank
initialization returns bogus values. This is currently tackled by returning
0 if the temperature is bogus (exceeding 200000).
Instead, add a delay between the bank init and the thermal zone device
register to properly fix this.
Signed-off-by: Michael Kao <[email protected]>
Signed-off-by: Hsin-Yi Wang <[email protected]>
Signed-off-by: Amjad Ouled-Ameur <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions