-
Since power status can change not only when TPS_REG_INT_POWER_STATUS_UPDATE is set but also when TPS_REG_INT_PP_SWITCH_CHANGED is set, check for power status change also in the TPS_REG_INT_PP_SWITCH_CHANGED case. In this way we detect power status change in some cases where it was earlier undetected. Fixes https://source.puri.sm/Librem5/linux-next/-/issues/250 and https://source.puri.sm/Librem5/linux-next/-/issues/291 Signed-off-by: Elias Rudberg <mail@eliasrudberg.se>
72468c58