Skip to content
Commit 452e01b3 authored by Dmitry Torokhov's avatar Dmitry Torokhov Committed by Eduardo Valentin
Browse files

thermal: rockhip: fix setting thermal shutdown polarity



When requested thermal shutdown signal polarity is low we need to make
sure that the bit representing high level of signal is reset, and not
set all other bits in that register.

Also rename TSADCV2_INT_PD_CLEAR to TSADCV2_INT_PD_CLEAR_MASK to better
reflect its nature.

Acked-by: default avatarCaesar Wang <wxt@rock-chips.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@chromium.org>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
parent d9a241cb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment